1
by brian
clean slate |
1 |
stop slave;
|
2 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
3 |
reset master;
|
|
4 |
reset slave;
|
|
5 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
6 |
start slave;
|
|
7 |
create table t1 (n int);
|
|
8 |
insert into t1 values(1);
|
|
9 |
stop slave;
|
|
10 |
start slave;
|
|
11 |
insert into t1 values(2);
|
|
12 |
select * from t1;
|
|
13 |
n
|
|
14 |
1
|
|
15 |
2
|
|
16 |
drop table t1;
|