rpl_failsafe.result
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:1k
源码类别:
MySQL数据库
开发平台:
Visual C++
- stop slave;
- drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
- reset master;
- reset slave;
- drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
- start slave;
- show variables like 'rpl_recovery_rank';
- Variable_name Value
- rpl_recovery_rank 1
- show status like 'Rpl_status';
- Variable_name Value
- Rpl_status AUTH_MASTER
- create table t1(n int);
- drop table t1;
- show variables like 'rpl_recovery_rank';
- Variable_name Value
- rpl_recovery_rank 2
- show status like 'Rpl_status';
- Variable_name Value
- Rpl_status ACTIVE_SLAVE
- start slave;
- show variables like 'rpl_recovery_rank';
- Variable_name Value
- rpl_recovery_rank 3
- show status like 'Rpl_status';
- Variable_name Value
- Rpl_status ACTIVE_SLAVE
- start slave;
- show variables like 'rpl_recovery_rank';
- Variable_name Value
- rpl_recovery_rank 4
- show status like 'Rpl_status';
- Variable_name Value
- Rpl_status ACTIVE_SLAVE