| 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 |
SET SESSION sql_log_bin=0; |
| 7 |
call mtr.add_suppression("Function 'group_replication' already exists"); |
| 8 |
call mtr.add_suppression("Couldn't load plugin named 'group_replication' with soname 'group_replication.*'"); |
| 9 |
SET SESSION sql_log_bin=1; |
| 10 |
|
| 11 |
# 1. Uninstall and install Group Replication via inc file do not log error. |
| 12 |
include/uninstall_group_replication_plugin.inc |
| 13 |
include/install_group_replication_plugin.inc |
| 14 |
|
| 15 |
# 2. Reboot server. |
| 16 |
# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group_replication_group_name=GROUP_REPLICATION_GROUP_NAME |
| 17 |
include/assert.inc ['INSTALL PLUGIN cleanup successful using clean_group_replication_install_entry.inc'] |
| 18 |
include/rpl_reconnect.inc |
| 19 |
|
| 20 |
# 3. Verify no ERROR is logged. |
| 21 |
include/assert_grep.inc [Did not find the text Function 'group_replication' already exists] |
| 22 |
|
| 23 |
# 4. Uninstall and install Group Replication via commands (not inc) log error. |
| 24 |
include/uninstall_group_replication_plugin.inc |
| 25 |
include/install_group_replication_plugin.inc |
| 26 |
|
| 27 |
# 5. Reboot server. |
| 28 |
# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group_replication_group_name=GROUP_REPLICATION_GROUP_NAME |
| 29 |
include/assert.inc ['INSTALL PLUGIN leaves entry in mysql.plugin table so cleanup is required done in group_replication_end.inc'] |
| 30 |
include/rpl_reconnect.inc |
| 31 |
|
| 32 |
# 6. Verify ERROR is logged. |
| 33 |
include/assert_grep.inc [Found the text Function 'group_replication' already exists] |
| 34 |
|
| 35 |
# 7. Cleanup. |
| 36 |
include/group_replication_end.inc |