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 |
#
|
|
8 |
# New --dump-slave, --apply-slave-statements functionality
|
|
9 |
#
|
|
10 |
use test;
|
|
11 |
CHANGE MASTER TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=107;
|
|
12 |
STOP SLAVE;
|
|
13 |
CHANGE MASTER TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=107;
|
|
14 |
START SLAVE;
|
|
15 |
STOP SLAVE;
|
|
16 |
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT='MASTER_MYPORT', MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=107;
|
|
17 |
START SLAVE;
|