| 1 |
################################################################################ |
| 2 |
# This test verifies that the two recovery options namely, recovery_user and |
| 3 |
# recovery_password no longer exist. |
| 4 |
# |
| 5 |
# Test: |
| 6 |
# 0. The test requires one server. |
| 7 |
# 1. Check group_replication_recovery_user is no longer valid. |
| 8 |
# 2. Check group_replication_recovery_password is no longer valid. |
| 9 |
################################################################################ |
| 10 |
|
| 11 |
--source include/have_group_replication_plugin.inc |
| 12 |
--let $rpl_skip_group_replication_start= 1 |
| 13 |
--source include/group_replication.inc |
| 14 |
|
| 15 |
--echo # Check that the two options are no longer valid. |
| 16 |
--error ER_UNKNOWN_SYSTEM_VARIABLE |
| 17 |
SET GLOBAL group_replication_recovery_user= "dummy_user"; |
| 18 |
|
| 19 |
--error ER_UNKNOWN_SYSTEM_VARIABLE |
| 20 |
SET GLOBAL group_replication_recovery_password= "dummy_password"; |
| 21 |
|
| 22 |
--source include/group_replication_end.inc |