ansible/test/integration/targets/setup_mariadb/templates/myreplica01.j2
Sam Doran 3902c6dd9d
Fix MariaDB integration tests for CentOS 8 (#64859)
* Fix setup_mariadb for CentOS 8
Switch to using systemd for multiple instances on CentOS 7 and 8
2019-11-15 17:06:27 -05:00

11 lines
554 B
Django/Jinja

[mysqld]
server_id = 2
port = {{ replica_db.port }}
datadir = {{ replica_db.datadir }}
socket = {{ replica_db.datadir }}/mysqld_replica.sock
pid-file = {{ replica_db.datadir }}/mysqld_replica.pid
log_bin = {{ replica_db.logdir }}/mysql-bin.log
relay-log = {{ replica_db.logdir }}/relay-bin
relay-log-index = {{ replica_db.logdir }}/relay-bin.index
master-info-file = {{ replica_db.logdir }}/master.info
relay-log-info-file = {{ replica_db.logdir }}/relay-log.info