Update default mysql_max_allowed_packet variable.

pull/63/head
Jeff Geerling 10 years ago
parent f52d3d44ba
commit 484c627745
  1. 2
      README.md
  2. 3
      defaults/main.yml

@ -51,7 +51,7 @@ Default MySQL connection configuration.
MySQL logging configuration. Setting `mysql_log_error` to `syslog` will make MySQL log to syslog using the `mysql_syslog_tag`.
mysql_key_buffer_size: "256M"
mysql_max_allowed_packet: "1M"
mysql_max_allowed_packet: "64M"
mysql_table_open_cache: "256"
[...]

@ -14,7 +14,7 @@ mysql_socket: /var/lib/mysql/mysql.sock
# Memory settings (default values optimized ~512MB RAM).
mysql_key_buffer_size: "256M"
mysql_max_allowed_packet: "1M"
mysql_max_allowed_packet: "64M"
mysql_table_open_cache: "256"
mysql_sort_buffer_size: "1M"
mysql_read_buffer_size: "1M"
@ -25,7 +25,6 @@ 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