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