Add extra variables wait_timeout and max_allowed_packet.

This commit is contained in:
Jeff Geerling
2014-07-03 08:25:12 -05:00
parent e9f332d42a
commit 71cf6337bc
2 changed files with 8 additions and 0 deletions

View File

@@ -22,6 +22,10 @@ mysql_myisam_sort_buffer_size: "64M"
mysql_thread_cache_size: "8"
mysql_query_cache_size: "16M"
# Other settings.
mysql_wait_timeout: 28800
mysql_max_allowed_packet: "64M"
# Try number of CPU's * 2 for thread_concurrency.
mysql_thread_concurrency: 2

View File

@@ -31,6 +31,10 @@ myisam_sort_buffer_size = {{ mysql_myisam_sort_buffer_size }}
thread_cache_size = {{ mysql_thread_cache_size }}
query_cache_size = {{ mysql_query_cache_size }}
# Other settings.
wait_timeout = {{ mysql_wait_timeout }}
max_allowed_packet = {{ mysql_max_allowed_packet }}
# Try number of CPU's * 2 for thread_concurrency.
thread_concurrency = {{ mysql_thread_concurrency }}