1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
include/group_replication.inc [rpl_server_count=2]
Warnings:
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
[connection server1]
SET SESSION sql_log_bin = 0;
call mtr.add_suppression("The integer component of the GTID number is high");
SET SESSION sql_log_bin = 1;
############################################################
# Start server1
[connection server1]
SET GLOBAL gtid_purged = CONCAT('cccccccc-cccc-cccc-cccc-cccccccccccc:1-', (1 << 63) - 10);
SET GLOBAL gtid_purged = CONCAT('+dddddddd-dddd-dddd-dddd-dddddddddddd:1-', (1 << 63) - 10);
SET GLOBAL gtid_purged = CONCAT('+eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee:1-25');
include/start_and_bootstrap_group_replication.inc
############################################################
# Start server2
[connection server2]
SET SESSION sql_log_bin = 0;
call mtr.add_suppression("Plugin group_replication reported.*");
SET SESSION sql_log_bin = 1;
SET @saved_exit_state_action = @@GLOBAL.group_replication_exit_state_action;
SET @@GLOBAL.group_replication_exit_state_action = OFFLINE_MODE;
include/start_group_replication.inc
include/assert.inc [P_S table replication_group_members must only contain 1 member]
include/assert_and_disable_offline_mode.inc
include/assert_grep.inc [ER_GRP_RPL_RECOVERY_STRAT_CLONE_THRESHOLD found in server error log]
#
# Cleaning up
#
include/stop_group_replication.inc
SET @@GLOBAL.group_replication_exit_state_action = @saved_exit_state_action;
include/group_replication_end.inc
|