2015-08-13 13:47:18 -07:00
|
|
|
!includedir /etc/mysql/conf.d/
|
|
|
|
|
!includedir /etc/mysql/mysql.conf.d/
|
|
|
|
|
|
|
|
|
|
# http://bugs.mysql.com/bug.php?id=68514
|
|
|
|
|
[mysqld]
|
|
|
|
|
performance_schema=OFF
|
2016-04-29 20:20:52 -07:00
|
|
|
max_connections=50
|
2016-07-27 00:15:08 -07:00
|
|
|
# on ec2, without this we get a sporadic connection drop when doing the initial migration
|
2020-11-17 19:28:22 -08:00
|
|
|
max_allowed_packet=64M
|
2016-07-27 00:15:08 -07:00
|
|
|
|
2017-04-14 12:30:47 -07:00
|
|
|
# https://mathiasbynens.be/notes/mysql-utf8mb4
|
|
|
|
|
character-set-server = utf8mb4
|
|
|
|
|
collation-server = utf8mb4_unicode_ci
|
|
|
|
|
|
2019-03-22 15:12:30 -07:00
|
|
|
# set timezone to UTC
|
|
|
|
|
default_time_zone='+00:00'
|
|
|
|
|
|
2021-02-23 14:24:40 -08:00
|
|
|
# keep mysql binlogs under check
|
|
|
|
|
expire_logs_days = 10
|
|
|
|
|
max_binlog_size = 100M
|
|
|
|
|
|
2017-04-14 12:30:47 -07:00
|
|
|
[mysqldump]
|
|
|
|
|
quick
|
|
|
|
|
quote-names
|
2018-03-22 21:49:08 -07:00
|
|
|
max_allowed_packet = 16M
|
2017-04-14 12:30:47 -07:00
|
|
|
default-character-set = utf8mb4
|
|
|
|
|
|
|
|
|
|
[mysql]
|
|
|
|
|
default-character-set = utf8mb4
|
|
|
|
|
|
|
|
|
|
[client]
|
|
|
|
|
default-character-set = utf8mb4
|
|
|
|
|
|