Merge pull request #114 from nerzhul/skip_name_resolve

Add mysql_skip_name_resolve parameter
This commit is contained in:
Jeff Geerling 2016-05-11 08:07:55 -05:00
commit d6706d703c
2 changed files with 4 additions and 0 deletions

View file

@ -27,6 +27,7 @@ mysql_port: "3306"
mysql_bind_address: '0.0.0.0'
mysql_datadir: /var/lib/mysql
mysql_pid_file: /var/run/mysqld/mysqld.pid
mysql_skip_name_resolve: no
# Slow query log settings.
mysql_slow_query_log_enabled: no

View file

@ -9,6 +9,9 @@ bind-address = {{ mysql_bind_address }}
datadir = {{ mysql_datadir }}
socket = {{ mysql_socket }}
pid-file = {{ mysql_pid_file }}
{% if mysql_skip_name_resolve %}
skip-name-resolve
{% endif %}
# Logging configuration.
{% if mysql_log_error == 'syslog' or mysql_log == 'syslog' %}