Skip to content
Snippets Groups Projects
Commit b678da95 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#3126 Always write binlog config, this is needed in MySQL 8

parent 6e3280a9
No related branches found
No related tags found
No related merge requests found
......@@ -106,13 +106,11 @@ slow_query_log_file = /var/log/mysql/slow.log
{% if mysql_repl_primary or mysql_repl_secondary %}
server-id = {{ mysql_server_id }}
{% endif %}
{% if mysql_repl_primary %}
log_bin = /var/log/mysql/mysql-bin.log
expire_logs_days = {{ mysql_expire_logs_days }}
max_binlog_size = {{ mysql_max_binlog_size }}
# binlog_do_db = THIS IS UNSET, LOG EVERYTHING EXCEPT binlog_ignore_db
binlog_ignore_db = manual,mysql
{% endif %}
#
# * InnoDB
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment