include/master-slave.inc [connection master] connection slave; CALL mtr.add_suppression("Slave I/O: Master command COM_REGISTER_SLAVE failed: Debug Induced Error"); set @old_dbug=@@global.debug_dbug; set global debug_dbug='d,fail_com_register_slave'; stop slave; reset slave; include/wait_for_slave_to_stop.inc start slave; include/wait_for_slave_io_error.inc [errno=1597] include/stop_slave_sql.inc set global debug_dbug=@old_dbug; connection master; kill DUMP_THREAD; show slave hosts; Server_id Host Port Master_id connection slave; start slave; include/rpl_end.inc