22 lines
413 B
Plaintext
22 lines
413 B
Plaintext
|
# Master must listen for replication
|
||
|
mysql_bind_address: '0.0.0.0'
|
||
|
|
||
|
# Master durability
|
||
|
mysql_sync_binlog: '1'
|
||
|
mysql_innodb_flush_log_at_trx_commit: '1'
|
||
|
|
||
|
mysql_databases:
|
||
|
- 'testrepl'
|
||
|
- 'norepl'
|
||
|
|
||
|
mysql_users:
|
||
|
- name: 'replication'
|
||
|
password: '1a2b3c'
|
||
|
priv: '*.*:"REPLICATION SLAVE"'
|
||
|
host: '%'
|
||
|
mysql_replication_master: true
|
||
|
mysql_replication_slave: false
|
||
|
mysql_server_id: 1
|
||
|
|
||
|
# vim: set ft=yaml :
|