Debian Codegraph @

mysql-test/suite/group_replication/r/gr_user.result

raw
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 [connection server1]
7 SET SESSION sql_log_bin= 0;
8 call mtr.add_suppression(".*The group replication user is not present in the server *.*");
9 SET SESSION sql_log_bin= 1;
10 #
11 # Assert the user exist from the start
12 #
13 [connection server1]
14 include/assert.inc [The group replication user should exist in this member]
15 #
16 # Start group replication and check all is OK
17 #
18 include/start_and_bootstrap_group_replication.inc
19 include/assert.inc [The group replication user should exist in this member]
20 #
21 # Delete the user and watch GR fail at start
22 #
23 include/stop_group_replication.inc
24 DROP USER "mysql.session"@"localhost";
25 START GROUP_REPLICATION;
26 ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log.
27 #
28 # Recreate the user with an upgrade and see that GR works
29 #
30 Run mysql_upgrade
31 # restart:--group_replication_group_name=GROUP_REPLICATION_GROUP_NAME --group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --upgrade=FORCE
32 include/rpl_reconnect.inc
33 include/start_and_bootstrap_group_replication.inc
34 #
35 # Uninstall plugin and verify that user is still there
36 #
37 include/uninstall_group_replication_plugin.inc
38 include/assert.inc [The group replication user should exist after install]
39 #
40 # Cleaning
41 #
42 include/install_group_replication_plugin.inc
43 SET SESSION sql_log_bin= 0;
44 call mtr.add_suppression("There was an error when trying to access the server with user: mysql.session.*");
45 call mtr.add_suppression("Failed to establish an internal server connection to execute plugin operations");
46 call mtr.add_suppression("On plugin shutdown it was not possible to reset the server read mode settings. Try to reset it manually.");
47 SET SESSION sql_log_bin= 1;
48 include/group_replication_end.inc