ansible-role-mariadb/templates/90-sao.cnf.j2

11 lines
260 B
Django/Jinja

# {{ ansible_managed }}
[mysqld]
bind_address={{ mariadb.bind_address|default("127.0.0.1") }}
# Slow-Log
slow_query_log = 1
slow_query_log_file = /var/log/mysql/mariadb-slow.log
long_query_time = 10
log_slow_rate_limit = 1000
log_slow_verbosity = query_plan