mariadb/mysql-test/include/master-slave.inc
sasha@mysql.sashanet.com 6b7098cb20 fixed bug in load data infile replication
updated test suite to always test if slave obeys stop/start commands
2000-12-08 07:11:22 -07:00

13 lines
476 B
PHP

connect (master,localhost,root,,test,0,var/tmp/mysql.sock);
connect (master1,localhost,root,,test,0,var/tmp/mysql.sock);
connect (slave,localhost,root,,test,0,var/tmp/mysql-slave.sock);
connect (slave1,localhost,root,,test,0,var/tmp/mysql-slave.sock);
connection slave;
!slave stop;
@r/slave-stopped.result show status like 'Slave_running';
connection master;
reset master;
connection slave;
reset slave;
slave start;
@r/slave-running.result show status like 'Slave_running';