mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-25 23:41:44 -07:00
initial commit
This commit is contained in:
parent
9fcbbaad81
commit
76a1adffef
108 changed files with 8729 additions and 42 deletions
|
@ -0,0 +1,11 @@
|
|||
[mysqld]
|
||||
server_id = 1
|
||||
port = {{ master_port }}
|
||||
datadir = {{ master_datadir }}
|
||||
socket = {{ master_datadir }}/mysql.sock
|
||||
pid-file = {{ master_datadir }}/mysql.pid
|
||||
#mysqladmin = /usr/bin/mysqladmin
|
||||
log_bin = /var/log/mysql/mysql-bin.log
|
||||
sync_binlog = 1
|
||||
binlog-format = ROW
|
||||
innodb_flush_log_at_trx_commit = 1
|
|
@ -0,0 +1,13 @@
|
|||
[mysqld]
|
||||
server_id = 2
|
||||
port = {{ standby_port }}
|
||||
socket = /var/run/mysqld/mysqld_slave.sock
|
||||
pid-file = /var/run/mysqld/mysqld_slave.pid
|
||||
datadir = {{ standby_datadir }}
|
||||
log_bin = {{ standby_logdir }}/mysql-bin.log
|
||||
relay-log = {{ standby_logdir }}/relay-bin
|
||||
relay-log-index = {{ standby_logdir }}/relay-bin.index
|
||||
master-info-file = {{ standby_logdir }}/master.info
|
||||
relay-log-info-file = {{ standby_logdir }}/relay-log.info
|
||||
master-info-repository = TABLE
|
||||
relay-log-info-repository = TABLE
|
Loading…
Add table
Add a link
Reference in a new issue