| 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. Disable the action `mysql_disable_super_read_only_if_primary`, |
| 9 |
# validate that after bootstrap a group in single-primary |
| 10 |
# mode, the primary is read-only. |
| 11 |
[connection server1] |
| 12 |
SELECT group_replication_disable_member_action("mysql_disable_super_read_only_if_primary", "AFTER_PRIMARY_ELECTION"); |
| 13 |
group_replication_disable_member_action("mysql_disable_super_read_only_if_primary", "AFTER_PRIMARY_ELECTION") |
| 14 |
OK |
| 15 |
include/assert.inc [The action mysql_disable_super_read_only_if_primary must be disabled] |
| 16 |
include/assert.inc [The version of replication_group_member_actions must be 2] |
| 17 |
include/start_and_bootstrap_group_replication.inc |
| 18 |
include/assert.inc [The super_read_only mode must be 1] |
| 19 |
include/assert.inc [The read_only mode must be 1] |
| 20 |
include/assert_grep.inc [Member action "mysql_disable_super_read_only_if_primary" for event "AFTER_PRIMARY_ELECTION" was not triggered] |
| 21 |
|
| 22 |
############################################################ |
| 23 |
# 2. Clean up. |
| 24 |
[connection server1] |
| 25 |
include/group_replication_end.inc |