library/roles/mysql: More customizable options.

This commit is contained in:
Andrea Dell'Amico 2016-10-25 13:32:09 +02:00
parent 125657de30
commit 662c1ee357
2 changed files with 6 additions and 1 deletions

View File

@ -33,6 +33,7 @@ mysql_db_innodb_additional_mem_pool_size: 5M
mysql_db_innodb_log_file_size: 64M
mysql_db_innodb_log_buffer_size: 9M
mysql_safe_open_files_limit: 1024
mysql_max_allowed_packet: 16M
mysql_listen_on_ext_int: False
#mysql_db_data:

View File

@ -9,13 +9,17 @@ datadir = {{ mysql_data_dir }}
log_error = {{ mysql_log_dir }}/error.log
skip-external-locking
key_buffer_size = 16M
max_allowed_packet = 1M
max_allowed_packet = {{ mysql_max_allowed_packet }}
table_open_cache = 512
sort_buffer_size = 8M
net_buffer_length = 8K
read_buffer_size = {{ mysqld_db_read_buffer_size }}
read_rnd_buffer_size = {{ mysql_db_read_rnd_buffer_size }}
myisam_sort_buffer_size = 16M
sql_mode = {{ mysqld_sql_mode | default(omit) }}
ft_stopword_file = {{ mysqld_ft_stopword_file | default(omit) }}
ft_min_word_len = {{ mysqld_ft_min_word_lenght | default(omit) }}
ft_boolean_syntax = '{{ mysql_ft_boolean_syntax | default('+ -><()~*:\"\"&|') }}'
# Point the following paths to different dedicated disks
#tmpdir = /tmp/