Skip to content

Instantly share code, notes, and snippets.

@ryanscherler
Created May 15, 2017 23:06
Show Gist options
  • Save ryanscherler/ac749164db8542a247d11d484440938a to your computer and use it in GitHub Desktop.
Save ryanscherler/ac749164db8542a247d11d484440938a to your computer and use it in GitHub Desktop.
MySQL Disable Strict Mode
[mysqld]
sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
@ryanscherler
Copy link
Author

If your app was written for older versions of MySQL and is not compatible with strict SQL mode in MySQL 5.7, you can disable strict SQL mode. For example, apps such as WHMCS 6 and Craft 2 do not support strict SQL mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment