blob: f93dbf4b11868793c07f72041ff1fd8062dd32b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
source include/master-slave.inc;
connect (slave_sec,localhost,root,,test,0,slave.sock-1);
connect (slave_ter,localhost,root,,test,0,slave.sock-2);
connection master;
show variables like 'rpl_recovery_rank';
show status like 'Rpl_status';
connection slave;
show variables like 'rpl_recovery_rank';
show status like 'Rpl_status';
connection slave_sec;
show variables like 'rpl_recovery_rank';
show status like 'Rpl_status';
connection slave_ter;
show variables like 'rpl_recovery_rank';
show status like 'Rpl_status';
|