include/group_replication.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. [connection server1] ############################################################ # 0. Set binlog_checksum to NONE. [connection server1] SET PERSIST binlog_checksum=NONE; ############################################################ # 1. SET PERSIST GR specific variables. SET PERSIST group_replication_group_name= "GROUP_REPLICATION_GROUP_NAME"; SET PERSIST group_replication_local_address= @@global.group_replication_local_address; SET PERSIST group_replication_bootstrap_group= ON; SET PERSIST group_replication_start_on_boot=ON; ############################################################ # 2. Restart server, it must bootstrap the group # restart include/rpl_reconnect.inc include/gr_wait_for_member_state.inc ############################################################ # 3. Clean up. SET GLOBAL group_replication_start_on_boot= OFF; SET GLOBAL group_replication_bootstrap_group= OFF; RESET PERSIST; include/group_replication_end.inc