!includedir /etc/mysql/conf.d/ !includedir /etc/mysql/mysql.conf.d/ # http://bugs.mysql.com/bug.php?id=68514 [mysqld] performance_schema=OFF max_connections=200 # on ec2, without this we get a sporadic connection drop when doing the initial migration max_allowed_packet=64M # https://mathiasbynens.be/notes/mysql-utf8mb4 character-set-server = utf8mb4 collation-server = utf8mb4_unicode_ci # set timezone to UTC default_time_zone='+00:00' # disable bin logs. they are only useful in replication mode skip-log-bin # this is used when creating an index using ALTER command innodb_sort_buffer_size=2097152 # this is a per session sort (ORDER BY) variable for non-indexed fields sort_buffer_size = 4M [mysqldump] quick quote-names max_allowed_packet = 16M default-character-set = utf8mb4 [mysql] default-character-set = utf8mb4 [client] default-character-set = utf8mb4