Created
October 14, 2019 02:47
-
-
Save ryanhs/72d6a7352f30131278700124f6922dee to your computer and use it in GitHub Desktop.
docker mysql NO_ZERO_IN_DATE disable
This file contains hidden or 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
[mysqld] | |
sql_mode=ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION | |
pid-file = /var/run/mysqld/mysqld.pid | |
socket = /var/run/mysqld/mysqld.sock | |
datadir = /var/lib/mysql | |
#log-error = /var/log/mysql/error.log | |
# By default we only accept connections from localhost | |
#bind-address = 127.0.0.1 | |
# Disabling symbolic-links is recommended to prevent assorted security risks | |
symbolic-links=0 | |
# ./volumes/mysql/mysqld.cnf:/etc/mysql/mysql.conf.d/mysqld.cnf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment