Add extra variables wait_timeout and max_allowed_packet.

pull/63/head
Jeff Geerling 10 years ago
parent e9f332d42a
commit 71cf6337bc
  1. 4
      defaults/main.yml
  2. 4
      templates/my.cnf.j2

@ -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

@ -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 }}