| 1 |
# Based on my.cnf from the group_replication test suite. |
| 2 |
|
| 3 |
# Use default setting for mysqld processes |
| 4 |
!include include/default_mysqld.cnf |
| 5 |
!include include/default_client.cnf |
| 6 |
|
| 7 |
[mysqld] |
| 8 |
log-bin= server-binary-log |
| 9 |
relay-log= server-relay-log |
| 10 |
|
| 11 |
binlog-checksum= NONE |
| 12 |
enforce-gtid-consistency |
| 13 |
gtid-mode= on |
| 14 |
|
| 15 |
report-host= 127.0.0.1 |
| 16 |
report-user= root |
| 17 |
|
| 18 |
master-retry-count= 10 |
| 19 |
skip-replica-start |
| 20 |
|
| 21 |
loose-group_replication_start_on_boot= OFF |
| 22 |
loose-group_replication_single_primary_mode= FALSE |
| 23 |
loose-group_replication_enforce_update_everywhere_checks= TRUE |
| 24 |
loose-group_replication_recovery_get_public_key= TRUE |
| 25 |
|
| 26 |
# Directory where slaves find the dumps generated by "load data" |
| 27 |
# on the server. The path need to have constant length otherwise |
| 28 |
# test results will vary, thus a relative path is used. |
| 29 |
replica-load-tmpdir= ../../tmp |
| 30 |
|
| 31 |
loose-innodb_write_io_threads= 1 |
| 32 |
loose-innodb_read_io_threads= 1 |
| 33 |
|
| 34 |
[mysqld.1] |
| 35 |
# Run the master.sh script before starting this process |
| 36 |
#!run-master-sh |
| 37 |
|
| 38 |
report-port= @mysqld.1.port |
| 39 |
|
| 40 |
[mysqld.2] |
| 41 |
# Run the slave.sh script before starting this process |
| 42 |
#!run-slave-sh |
| 43 |
|
| 44 |
# Append <testname>-slave.opt file to the list of argument used when |
| 45 |
# starting the mysqld |
| 46 |
#!use-slave-opt |
| 47 |
|
| 48 |
report-port= @mysqld.2.port |
| 49 |
|
| 50 |
[ENV] |
| 51 |
MASTER_MYPORT= @mysqld.1.port |
| 52 |
MASTER_MYSOCK= @mysqld.1.socket |
| 53 |
|
| 54 |
SLAVE_MYPORT= @mysqld.2.port |
| 55 |
SLAVE_MYSOCK= @mysqld.2.socket |
| 56 |
|