include/master-slave.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. 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. [connection master] include/stop_dump_threads.inc CREATE TABLE t1(i INT) engine=innodb; INSERT INTO t1 VALUES (1); FLUSH LOGS; SET GLOBAL DEBUG='+d,simulate_dump_thread_kill'; SET GLOBAL DEBUG='+d,simulate_no_master_reconnect'; START SLAVE IO_THREAD; include/wait_for_slave_io_to_stop.inc SET GLOBAL DEBUG='-d,simulate_dump_thread_kill'; SET GLOBAL DEBUG='-d,simulate_no_master_reconnect'; include/start_slave.inc include/sync_slave_sql_with_master.inc include/diff_tables.inc [master:t1,slave:t1] DROP TABLE t1; include/rpl_end.inc