include/master-slave.inc [connection master] create table t1 (a int primary key); create table t2 (a int); insert into t1 values (1); insert into t2 values (1); delete t1.* from t1, t2 where t1.a = t2.a; select * from t1; a select * from t2; a 1 connection slave; select * from t1; a select * from t2; a 1 connection master; drop table t1,t2; connection slave; include/rpl_end.inc