Skip to content

Instantly share code, notes, and snippets.

@snipe
Created November 26, 2013 23:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Turn on mysql strict mode for Mac OSX mysql/MAMP
As priv'd user,
SET @@global.sql_mode='STRICT_TRANS_TABLES';
SET @@global.sql_mode='STRICT_ALL_TABLES';
@snipe
Copy link
Author

snipe commented Aug 20, 2014

SET @@global.sql_mode="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