Skip to content

Instantly share code, notes, and snippets.

@snipe
Created Nov 26, 2013
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

This comment has been minimized.

Copy link
Owner Author

@snipe 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