summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/r/rpl_show_slave_hosts.result
blob: 16d71e125ab61a95d93eda2d93e2dc02c1325697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
include/master-slave.inc
[connection master]
RESET SLAVE;
CHANGE MASTER TO master_host='127.0.0.1',master_port=MASTER_PORT,master_user='root';
START SLAVE IO_THREAD;
include/wait_for_slave_io_to_start.inc
SHOW SLAVE HOSTS;
Server_id	Host	Port	Master_id
3	slave2	SLAVE_PORT	1
2		SLAVE_PORT	1
include/stop_slave_io.inc
SHOW SLAVE HOSTS;
Server_id	Host	Port	Master_id
2		SLAVE_PORT	1
include/rpl_end.inc