1# Use default setting for mysqld processes
2!include include/default_mysqld.cnf
3!include include/default_client.cnf
4
5[mysqld.1]
6
7# Run the master.sh script before starting this process
8#!run-master-sh
9
10log-bin=                 master-bin
11
12[mysqld.2]
13# Run the slave.sh script before starting this process
14#!run-slave-sh
15
16# Append <testname>-slave.opt file to the list of argument used when
17# starting the mysqld
18#!use-slave-opt
19
20log-bin=                    slave-bin
21relay-log=                  slave-relay-bin
22
23log-slave-updates
24master-retry-count=         10
25
26# Values reported by slave when it connect to master
27# and shows up in SHOW SLAVE STATUS;
28report-host=                127.0.0.1
29report-port=                @mysqld.2.port
30report-user=                root
31
32skip-slave-start
33
34# Directory where slaves find the dumps generated by "load data"
35# on the server. The path need to have constant length otherwise
36# test results will vary, thus a relative path is used.
37slave-load-tmpdir=          ../../tmp
38
39
40[ENV]
41MASTER_MYPORT=              @mysqld.1.port
42MASTER_MYSOCK=              @mysqld.1.socket
43MASTER_X_MYSOCK=            @mysqld.1.loose-mysqlx-socket
44
45SLAVE_MYPORT=               @mysqld.2.port
46SLAVE_MYSOCK=               @mysqld.2.socket
47SLAVE_X_MYSOCK=             @mysqld.2.loose-mysqlx-socket
48
49