Debian Codegraph @

mysql-test/suite/group_replication/r/gr_lower_case_table_names_different.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
7 ## 1. Verify lower_case_table_names cannot be set while server is
8 ## running and start GR on server-1.
9
10 [connection server1]
11 SET GLOBAL lower_case_table_names= 1;
12 ERROR HY000: Variable 'lower_case_table_names' is a read only variable
13 include/start_and_bootstrap_group_replication.inc
14
15 ## 2. Store variables of server-2 for restart.
16
17 [connection server2]
18 set session sql_log_bin=0;
19 call mtr.add_suppression("The member is configured with a lower_case_table_names option value .*");
20 call mtr.add_suppression("lower_case_table_names was set to 2, .*");
21 set session sql_log_bin=1;
22
23 ## 3A. Test GR does not start on boot when lower_case_table_names
24 ## does not match. And verifies only one member is shown in the
25 ## group as the join failed.
26
27 # restart:--group_replication_start_on_boot=1 --group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group_replication_group_name=GROUP_REPLICATION_GROUP_NAME --group_replication_communication_stack=GROUP_REPLICATION_COMMUNICATION_STACK --lower_case_table_names=2 --loose-debug=+d,group_replication_wait_before_leave_on_error
28 include/rpl_reconnect.inc
29 SET DEBUG_SYNC= "now WAIT_FOR signal.wait_leave_process";
30 include/assert.inc ['Assert group has one member']
31 include/assert.inc ['Assert server-2 is OFFLINE']
32 SET DEBUG_SYNC= "now SIGNAL signal.continue_leave_process";
33
34 ## 3B. Test GR does not start with command when lower_case_table_names
35 ## does not match.
36
37 START GROUP_REPLICATION;
38 ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log.
39 include/assert_grep.inc [Found the expected error about lower_case_table_names]
40 include/assert.inc ['Assert server-2 is OFFLINE']
41
42 ## 4. Cleanup.
43
44 include/group_replication_end.inc