Debian Codegraph @

mysql-test/suite/rpl/r/rpl_stm_reset_slave.result

raw
1 include/master-slave.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 master]
6 Master_User = 'root'
7 Master_Host = '127.0.0.1'
8 include/stop_slave.inc
9 CHANGE REPLICATION SOURCE to SOURCE_USER='test';
10 Warnings:
11 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
12 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.
13 Master_User = 'test'
14 Master_Host = '127.0.0.1'
15 reset slave;
16 Warnings:
17 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
18 Master_User = 'test'
19 Master_Host = '127.0.0.1'
20 CHANGE REPLICATION SOURCE to SOURCE_USER='root';
21 Warnings:
22 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
23 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.
24 include/start_slave.inc
25 Master_User = 'root'
26 Master_Host = '127.0.0.1'
27 include/stop_slave.inc
28 reset slave;
29 Warnings:
30 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
31 include/start_slave.inc
32 create temporary table t1 (a int);
33 include/stop_slave.inc
34 Warnings:
35 Warning 3022 This operation may not be safe when the replica has temporary tables. The tables will be kept open until the server restarts or until the tables are deleted by any replicated DROP statement. Suggest to wait until replica_open_temp_tables = 0.
36 reset slave;
37 Warnings:
38 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
39 reset master;
40 include/start_slave.inc
41 show status like 'replica_open_temp_tables';
42 Variable_name Value
43 Replica_open_temp_tables 1
44 drop temporary table if exists t1;
45 include/stop_slave.inc
46 reset slave;
47 Warnings:
48 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
49 include/check_slave_no_error.inc
50 CHANGE REPLICATION SOURCE to SOURCE_USER='impossible_user_name';
51 Warnings:
52 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
53 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.
54 start slave;
55 Warnings:
56 Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
57 include/wait_for_slave_io_error.inc [errno=1045]
58 include/stop_slave_sql.inc
59 CHANGE REPLICATION SOURCE to SOURCE_USER='root';
60 Warnings:
61 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
62 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.
63 include/start_slave.inc
64 include/check_slave_no_error.inc
65
66 Sync slave, else STOP SLAVE may complain about open temporary table.
67
68 [connection master]
69 include/sync_slave_sql_with_master.inc
70 include/stop_slave.inc
71 CHANGE REPLICATION SOURCE to SOURCE_USER='impossible_user_name';
72 Warnings:
73 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
74 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.
75 start slave;
76 Warnings:
77 Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
78 include/wait_for_slave_io_error.inc [errno=1045]
79 include/stop_slave_sql.inc
80 reset slave;
81 Warnings:
82 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
83 include/check_slave_no_error.inc
84 CHANGE REPLICATION SOURCE to SOURCE_USER='root';
85 Warnings:
86 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
87 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.
88 reset slave;
89 Warnings:
90 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
91
92 Sync slave, else STOP SLAVE may complain about open temporary table.
93
94 include/start_slave.inc
95 [connection master]
96 include/sync_slave_sql_with_master.inc
97 include/stop_slave.inc
98 reset slave all;
99 Warnings:
100 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
101 start slave;
102 ERROR HY000: The server is not configured as replica; fix in config file or with CHANGE REPLICATION SOURCE TO
103 CHANGE REPLICATION SOURCE TO SOURCE_HOST= 'MASTER_HOST', SOURCE_USER= 'MASTER_USER', SOURCE_PORT= MASTER_PORT;
104 Warnings:
105 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
106 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.
107 include/start_slave.inc
108 [connection master]
109 include/sync_slave_sql_with_master.inc
110 include/stop_slave.inc
111 include/rpl_reset_slave.inc
112 # Configure the slave with an empty user
113 CHANGE REPLICATION SOURCE TO SOURCE_USER='', SOURCE_PORT=MASTER_PORT, SOURCE_HOST='localhost';
114 Warnings:
115 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
116 Note 1760 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.
117 # Issue a RESET SLAVE instruction and try to start the slave IO thread that will error out
118 include/rpl_reset_slave.inc
119 START SLAVE IO_THREAD;
120 Warnings:
121 Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
122 include/wait_for_slave_io_error.inc [errno=13117]
123 # Check the user is still empty
124 include/assert.inc [User_name in slave_master_info is empty]
125 # Cleanup
126 include/rpl_reset_slave.inc
127 CHANGE REPLICATION SOURCE TO SOURCE_HOST='127.0.0.1', SOURCE_PORT=MASTER_PORT, SOURCE_USER='root';
128 Warnings:
129 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
130 Note 1760 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.
131 include/start_slave.inc
132 call mtr.add_suppression("Replica I/O for channel '': Fatal error: Invalid .* username when attempting to connect to the source server*");
133 include/rpl_end.inc