Skip to content

Commit 484c627

Browse files
committed
Update default mysql_max_allowed_packet variable.
1 parent f52d3d4 commit 484c627

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Default MySQL connection configuration.
5151
MySQL logging configuration. Setting `mysql_log_error` to `syslog` will make MySQL log to syslog using the `mysql_syslog_tag`.
5252

5353
mysql_key_buffer_size: "256M"
54-
mysql_max_allowed_packet: "1M"
54+
mysql_max_allowed_packet: "64M"
5555
mysql_table_open_cache: "256"
5656
[...]
5757

defaults/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mysql_socket: /var/lib/mysql/mysql.sock
1414

1515
# Memory settings (default values optimized ~512MB RAM).
1616
mysql_key_buffer_size: "256M"
17-
mysql_max_allowed_packet: "1M"
17+
mysql_max_allowed_packet: "64M"
1818
mysql_table_open_cache: "256"
1919
mysql_sort_buffer_size: "1M"
2020
mysql_read_buffer_size: "1M"
@@ -25,7 +25,6 @@ mysql_query_cache_size: "16M"
2525

2626
# Other settings.
2727
mysql_wait_timeout: 28800
28-
mysql_max_allowed_packet: "64M"
2928

3029
# Try number of CPU's * 2 for thread_concurrency.
3130
mysql_thread_concurrency: 2

0 commit comments

Comments
 (0)