3902c6dd9d
* Fix setup_mariadb for CentOS 8 Switch to using systemd for multiple instances on CentOS 7 and 8
11 lines
554 B
Django/Jinja
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
|