Skip to content

Instantly share code, notes, and snippets.

@oliveratgithub
Created September 27, 2019 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oliveratgithub/434aeab704f9eddf634f8933be109f87 to your computer and use it in GitHub Desktop.
Save oliveratgithub/434aeab704f9eddf634f8933be109f87 to your computer and use it in GitHub Desktop.
MAMP MySQL 5.7 disable strict mode. Add file to /MAMP/conf/
[client]
#socket = /Applications/MAMP/tmp/mysql/mysql.sock
[mysqld]
max_allowed_packet = 64M
table_open_cache = 2000
sql_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment