library/roles/mysql: More customizable options.
This commit is contained in:
parent
125657de30
commit
662c1ee357
|
@ -33,6 +33,7 @@ mysql_db_innodb_additional_mem_pool_size: 5M
|
||||||
mysql_db_innodb_log_file_size: 64M
|
mysql_db_innodb_log_file_size: 64M
|
||||||
mysql_db_innodb_log_buffer_size: 9M
|
mysql_db_innodb_log_buffer_size: 9M
|
||||||
mysql_safe_open_files_limit: 1024
|
mysql_safe_open_files_limit: 1024
|
||||||
|
mysql_max_allowed_packet: 16M
|
||||||
|
|
||||||
mysql_listen_on_ext_int: False
|
mysql_listen_on_ext_int: False
|
||||||
#mysql_db_data:
|
#mysql_db_data:
|
||||||
|
|
|
@ -9,13 +9,17 @@ datadir = {{ mysql_data_dir }}
|
||||||
log_error = {{ mysql_log_dir }}/error.log
|
log_error = {{ mysql_log_dir }}/error.log
|
||||||
skip-external-locking
|
skip-external-locking
|
||||||
key_buffer_size = 16M
|
key_buffer_size = 16M
|
||||||
max_allowed_packet = 1M
|
max_allowed_packet = {{ mysql_max_allowed_packet }}
|
||||||
table_open_cache = 512
|
table_open_cache = 512
|
||||||
sort_buffer_size = 8M
|
sort_buffer_size = 8M
|
||||||
net_buffer_length = 8K
|
net_buffer_length = 8K
|
||||||
read_buffer_size = {{ mysqld_db_read_buffer_size }}
|
read_buffer_size = {{ mysqld_db_read_buffer_size }}
|
||||||
read_rnd_buffer_size = {{ mysql_db_read_rnd_buffer_size }}
|
read_rnd_buffer_size = {{ mysql_db_read_rnd_buffer_size }}
|
||||||
myisam_sort_buffer_size = 16M
|
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
|
# Point the following paths to different dedicated disks
|
||||||
#tmpdir = /tmp/
|
#tmpdir = /tmp/
|
||||||
|
|
Loading…
Reference in New Issue