install_mysql.sh: comment out sql_mode in file 'my.cnf'.

This commit is contained in:
Christoph 2018-08-11 13:26:33 +02:00
parent 9159d67120
commit fbb0219744

View File

@ -2709,7 +2709,7 @@ socket = $MYSQL_UNIX_SOCKET
## - ## -
## - To be compartible with older programming on mysql 5.6 ## - To be compartible with older programming on mysql 5.6
## - ## -
sql-mode = \"ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\" #sql-mode = \"ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\"
" >> ${logdir}/main.log " >> ${logdir}/main.log
fi fi
@ -3564,7 +3564,7 @@ EOF" >> ${logdir}/main.log
## - ## -
## - To be compartible with older programming on mysql 5.6 ## - To be compartible with older programming on mysql 5.6
## - ## -
sql-mode = "ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" #sql-mode = "ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
EOF" >> ${logdir}/main.log EOF" >> ${logdir}/main.log
fi fi