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 (a int not null auto_increment primary key, b int, key(b));
|
|
8 |
INSERT INTO t1 (a) VALUES (1),(2);
|
|
9 |
drop table t1;
|