Last active
May 17, 2022 14:57
-
-
Save flori/6897810 to your computer and use it in GitHub Desktop.
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
(ffr@ffr:mysql [master] ❷ ->0)$ cat /usr/local/opt/mysql/my.cnf | |
[mysqld] | |
sql_mode=NO_ENGINE_SUBSTITUTION,ALLOW_INVALID_DATES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This setting only applies to inserts and updates, see https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_zero_date