2001-10-11 13:54:06 -06:00
|
|
|
require_manager;
|
2001-10-08 13:07:50 -06:00
|
|
|
source include/master-slave.inc;
|
2001-10-09 16:43:05 -06:00
|
|
|
connect (slave_sec,localhost,root,,test,0,slave.sock-1);
|
|
|
|
connect (slave_ter,localhost,root,,test,0,slave.sock-2);
|
2001-10-08 13:07:50 -06:00
|
|
|
connection master;
|
|
|
|
show variables like 'rpl_recovery_rank';
|
2001-10-10 15:36:35 -06:00
|
|
|
show status like 'Rpl_status';
|
2001-10-11 13:54:06 -06:00
|
|
|
create table t1(n int);
|
|
|
|
drop table t1;
|
|
|
|
save_master_pos;
|
2001-10-08 13:07:50 -06:00
|
|
|
connection slave;
|
2001-10-11 13:54:06 -06:00
|
|
|
sync_with_master;
|
2001-10-08 13:07:50 -06:00
|
|
|
show variables like 'rpl_recovery_rank';
|
2001-10-10 15:36:35 -06:00
|
|
|
show status like 'Rpl_status';
|
2001-10-09 16:43:05 -06:00
|
|
|
connection slave_sec;
|
2001-10-11 13:54:06 -06:00
|
|
|
slave start;
|
|
|
|
sync_with_master;
|
2001-10-09 16:43:05 -06:00
|
|
|
show variables like 'rpl_recovery_rank';
|
2001-10-10 15:36:35 -06:00
|
|
|
show status like 'Rpl_status';
|
2001-10-09 16:43:05 -06:00
|
|
|
connection slave_ter;
|
2001-10-11 13:54:06 -06:00
|
|
|
slave start;
|
|
|
|
sync_with_master;
|
2001-10-09 16:43:05 -06:00
|
|
|
show variables like 'rpl_recovery_rank';
|
2001-10-10 15:36:35 -06:00
|
|
|
show status like 'Rpl_status';
|