summaryrefslogtreecommitdiff
path: root/mysql-test/include/master-slave.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/master-slave.inc')
-rw-r--r--mysql-test/include/master-slave.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/include/master-slave.inc b/mysql-test/include/master-slave.inc
new file mode 100644
index 00000000000..137749912a7
--- /dev/null
+++ b/mysql-test/include/master-slave.inc
@@ -0,0 +1,11 @@
+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;
+connection master;
+reset master;
+connection slave;
+reset slave;
+!slave start;