Last active
March 15, 2018 12:16
-
-
Save jalogut/f507f13b27f7a63d936edd58fad5e121 to your computer and use it in GitHub Desktop.
Mysql ~/.my.cnf to fix MYSQL has gone away issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mysqld] | |
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION | |
# https://expressionengine.com/blog/mysql-5.7-server-os-x-has-gone-away | |
interactive_timeout = 300 | |
wait_timeout = 300 | |
# https://github.com/Homebrew/legacy-homebrew/issues/47335 | |
table_open_cache = 250 | |
# Check also https://github.com/magento/magento2/issues/2805 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment