stop slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; reset master; reset slave; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; start slave; drop database if exists mysqltest; stop slave; create database mysqltest; create table t1(a int, b int, unique(b)); use mysqltest; load data infile '../../std_data/rpl_loaddata.dat' into table test.t1; show binlog events from 96; Log_name Pos Event_type Server_id End_log_pos Info master-bin.000001 96 Query 1 198 drop database if exists mysqltest master-bin.000001 198 Query 1 292 create database mysqltest drop database mysqltest;