| 1 |
include/group_replication.inc |
| 2 |
Warnings: |
| 3 |
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 4 |
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. |
| 5 |
[connection server1] |
| 6 |
|
| 7 |
############################################################ |
| 8 |
# 1. Bootstrap a group with server1 as the primary, faking |
| 9 |
# that this server has 8.0.26 version. |
| 10 |
[connection server1] |
| 11 |
SET session sql_log_bin=0; |
| 12 |
DELETE FROM mysql.replication_group_member_actions WHERE name="mysql_start_failover_channels_if_primary"; |
| 13 |
SET session sql_log_bin=1; |
| 14 |
include/start_and_bootstrap_group_replication.inc |
| 15 |
include/assert.inc [There must be one member action] |
| 16 |
include/assert.inc [mysql_disable_super_read_only_if_primary action default value] |
| 17 |
include/assert.inc [There must be one GR configuration version] |
| 18 |
include/assert.inc [The version of replication_group_member_actions must be 1] |
| 19 |
|
| 20 |
############################################################ |
| 21 |
# 2. Join server2 to the group. |
| 22 |
# server2 must have the member action |
| 23 |
# "mysql_start_failover_channels_if_primary" before and |
| 24 |
# after join the group. |
| 25 |
[connection server2] |
| 26 |
include/assert.inc [There must be two member actions] |
| 27 |
include/assert.inc [mysql_disable_super_read_only_if_primary action default value] |
| 28 |
include/assert.inc [mysql_start_failover_channels_if_primary action default value] |
| 29 |
include/assert.inc [There must be one GR configuration version] |
| 30 |
include/assert.inc [The version of replication_group_member_actions must be 1] |
| 31 |
include/start_group_replication.inc |
| 32 |
include/assert.inc [There must be two member actions] |
| 33 |
include/assert.inc [mysql_disable_super_read_only_if_primary action default value] |
| 34 |
include/assert.inc [mysql_start_failover_channels_if_primary action default value] |
| 35 |
include/assert.inc [There must be one GR configuration version] |
| 36 |
include/assert.inc [The version of replication_group_member_actions must be 1] |
| 37 |
|
| 38 |
############################################################ |
| 39 |
# 3. Clean up. |
| 40 |
include/group_replication_end.inc |