| 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 |
|
| 10 |
log-bin= master-bin |
| 11 |
|
| 12 |
skip-name-resolve |
| 13 |
bind-address= 0.0.0.0 |
| 14 |
port-open-timeout= 10000 |
| 15 |
|
| 16 |
|
| 17 |
[mysqld.2] |
| 18 |
# Run the slave.sh script before starting this process |
| 19 |
#!run-slave-sh |
| 20 |
|
| 21 |
# Append <testname>-slave.opt file to the list of argument used when |
| 22 |
# starting the mysqld |
| 23 |
#!use-slave-opt |
| 24 |
|
| 25 |
log-bin= slave-bin |
| 26 |
relay-log= slave-relay-bin |
| 27 |
|
| 28 |
master-retry-count= 10 |
| 29 |
|
| 30 |
# Values reported by slave when it connect to master |
| 31 |
# and shows up in SHOW SLAVE STATUS; |
| 32 |
report-host= localhost |
| 33 |
report-port= @mysqld.2.port |
| 34 |
report-user= root |
| 35 |
|
| 36 |
skip-replica-start |
| 37 |
skip-name-resolve |
| 38 |
bind-address= 0.0.0.0 |
| 39 |
|
| 40 |
# Directory where slaves find the dumps generated by "load data" |
| 41 |
# on the server. The path need to have constant length otherwise |
| 42 |
# test results will vary, thus a relative path is used. |
| 43 |
replica-load-tmpdir= ../../tmp |
| 44 |
port-open-timeout= 10000 |
| 45 |
|
| 46 |
[ENV] |
| 47 |
MASTER_MYPORT= @mysqld.1.port |
| 48 |
MASTER_MYSOCK= @mysqld.1.socket |
| 49 |
|
| 50 |
SLAVE_MYPORT= @mysqld.2.port |
| 51 |
SLAVE_MYSOCK= @mysqld.2.socket |
| 52 |
|