2002-10-24 17:46:14 -06:00
|
|
|
stop slave;
|
2002-12-13 12:05:24 +02:00
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
2001-10-08 13:07:50 -06:00
|
|
|
reset master;
|
|
|
|
reset slave;
|
|
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
2002-10-24 17:46:14 -06:00
|
|
|
start slave;
|
2001-10-08 13:07:50 -06:00
|
|
|
show variables like 'rpl_recovery_rank';
|
|
|
|
Variable_name Value
|
|
|
|
rpl_recovery_rank 1
|
2001-10-10 15:36:35 -06:00
|
|
|
show status like 'Rpl_status';
|
|
|
|
Variable_name Value
|
|
|
|
Rpl_status AUTH_MASTER
|
2001-10-11 13:54:06 -06:00
|
|
|
create table t1(n int);
|
|
|
|
drop table t1;
|
2001-10-08 13:07:50 -06:00
|
|
|
show variables like 'rpl_recovery_rank';
|
|
|
|
Variable_name Value
|
|
|
|
rpl_recovery_rank 2
|
2001-10-10 15:36:35 -06:00
|
|
|
show status like 'Rpl_status';
|
|
|
|
Variable_name Value
|
2001-10-11 13:54:06 -06:00
|
|
|
Rpl_status ACTIVE_SLAVE
|
2002-10-24 17:46:14 -06:00
|
|
|
start slave;
|
2001-10-09 16:43:05 -06:00
|
|
|
show variables like 'rpl_recovery_rank';
|
|
|
|
Variable_name Value
|
|
|
|
rpl_recovery_rank 3
|
2001-10-10 15:36:35 -06:00
|
|
|
show status like 'Rpl_status';
|
|
|
|
Variable_name Value
|
2001-10-11 13:54:06 -06:00
|
|
|
Rpl_status ACTIVE_SLAVE
|
2002-10-24 17:46:14 -06:00
|
|
|
start slave;
|
2001-10-09 16:43:05 -06:00
|
|
|
show variables like 'rpl_recovery_rank';
|
|
|
|
Variable_name Value
|
|
|
|
rpl_recovery_rank 4
|
2001-10-10 15:36:35 -06:00
|
|
|
show status like 'Rpl_status';
|
|
|
|
Variable_name Value
|
2001-10-11 13:54:06 -06:00
|
|
|
Rpl_status ACTIVE_SLAVE
|