You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4
+
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
5
+
[connection master]
6
+
CREATE TABLE t1(i INT) ENGINE=InnoDB;
7
+
INSERT INTO t1 VALUES (1);
8
+
include/sync_slave_sql_with_master.inc
9
+
SET @save_debug=@@global.debug;
10
+
SET GLOBAL DEBUG='d,stop_io_after_reading_gtid_log_event';
11
+
[connection master]
12
+
INSERT INTO t1 VALUES (2);
13
+
[connection slave]
14
+
include/wait_for_slave_io_to_stop.inc
15
+
include/assert.inc [Slave MASTER_AUTO_POSITION should be enabled for this test]
16
+
SET GLOBAL DEBUG= @save_debug;
17
+
include/start_slave.inc
18
+
[connection master]
19
+
include/sync_slave_sql_with_master.inc
20
+
DROP TABLE t1;
21
+
RESET MASTER;
22
+
include/assert.inc [Check that there is one tuple in the table]
23
+
DROP TABLE t1;
24
+
RESET MASTER;
25
+
include/assert.inc [Check that there are two tuples in the table]
0 commit comments