Created
November 26, 2013 23:17
-
-
Save snipe/7668037 to your computer and use it in GitHub Desktop.
Turn on mysql strict mode for Mac OSX mysql/MAMP
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
As priv'd user, | |
SET @@global.sql_mode='STRICT_TRANS_TABLES'; | |
SET @@global.sql_mode='STRICT_ALL_TABLES'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SET @@global.sql_mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION";