1
# Replication tests need binlog
2
source include/have_log_bin.inc;
4
connect (master,127.0.0.1,root,,test,$MASTER_MYPORT,);
5
connect (master1,127.0.0.1,root,,test,$MASTER_MYPORT,);
6
connect (slave,127.0.0.1,root,,test,$SLAVE_MYPORT,);
7
connect (slave1,127.0.0.1,root,,test,$SLAVE_MYPORT,);
10
# Check that server is compiled and started with support for NDB
12
--require r/true.require
13
select (support = 'YES' or support = 'DEFAULT') as `TRUE` from information_schema.engines where engine = 'ndbcluster';
14
--source include/ndb_not_readonly.inc
17
-- source include/master-slave-reset.inc
19
# Set the default connection to 'master'