mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
14 lines
430 B
PHP
14 lines
430 B
PHP
# Replication tests need binlog
|
|
source include/have_log_bin.inc;
|
|
|
|
connect (master,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
|
connect (master1,127.0.0.1,root,,test,$MASTER_MYPORT,);
|
|
connect (slave,127.0.0.1,root,,test,$SLAVE_MYPORT,);
|
|
connect (slave1,127.0.0.1,root,,test,$SLAVE_MYPORT,);
|
|
|
|
-- source include/master-slave-reset.inc
|
|
|
|
connection master;
|
|
sync_slave_with_master;
|
|
# Set the default connection to 'master'
|
|
connection master;
|