mirror of
https://github.com/aljazceru/ansible-role-mysql.git
synced 2025-12-24 09:14:22 +01:00
Add extra variables wait_timeout and max_allowed_packet.
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user