| 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 |
# 1. Start group replication on server1 and other members |
| 8 |
include/start_and_bootstrap_group_replication.inc |
| 9 |
[connection server2] |
| 10 |
include/start_group_replication.inc |
| 11 |
|
| 12 |
# 2. Execute several requests in concurrency |
| 13 |
[connection server_1] |
| 14 |
|
| 15 |
# 3. Cleanup |
| 16 |
[connection server_1] |
| 17 |
set session sql_log_bin=0; |
| 18 |
call mtr.add_suppression("The function 'group_replication_switch_to_multi_primary_mode' failed. There is already a configuration action being proposed locally. Wait for it to finish."); |
| 19 |
call mtr.add_suppression("The function 'group_replication_switch_to_single_primary_mode' failed. There is already a configuration action being proposed locally. Wait for it to finish."); |
| 20 |
call mtr.add_suppression("The function 'group_replication_set_as_primary' failed. There is already a configuration action being proposed locally. Wait for it to finish."); |
| 21 |
set session sql_log_bin=1; |
| 22 |
include/group_replication_end.inc |