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; stop slave; create table t1 (a int) type=innodb; reset slave; start slave; stop slave; start slave; select master_pos_wait('master-bin.001',3000,120)=-1; master_pos_wait('master-bin.001',3000,120)=-1 0 select * from t1 where a=8000; a 8000 drop table t1;