mariadb/mysql-test/suite/rpl/r/rpl_show_slave_hosts.result

17 lines
437 B
Text
Raw Normal View History

include/master-slave.inc
[connection master]
RESET SLAVE;
2009-10-23 10:19:50 +08:00
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
2009-10-23 10:19:50 +08:00
3 slave2 DEFAULT_PORT 1
2 SLAVE_PORT 1
STOP SLAVE IO_THREAD;
include/wait_for_slave_io_to_stop.inc
SHOW SLAVE HOSTS;
Server_id Host Port Master_id
2009-10-23 10:19:50 +08:00
2 SLAVE_PORT 1
include/rpl_end.inc