Better master and support MariaDB GTID

This commit is contained in:
Emilien Mantel
2015-08-11 11:26:56 +02:00
parent 16b105786b
commit 8a8966a3f8
5 changed files with 26 additions and 4 deletions

View File

@@ -7,9 +7,14 @@
[mysqld]
server_id={{ mysql_server_id }}
log-bin
log_bin = mysql-bin
log-bin-index = mysql-bin.index
expire_logs_days = {{ mysql_expire_logs_days }}
max_binlog_size = {{ mysql_max_binlog_size }}
# MariaDB only?
#gtid_domain_id=1
{% if mysql_vendor == 'mariadb' and mysql_gtid %}
# MariaDB only
gtid_domain_id={{ mysql_gtid_domain_id }}
{% endif %}
; vim: set ft=dosini :