From fbb021974424abf0cf825eaeefe892c63002a250 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 11 Aug 2018 13:26:33 +0200 Subject: [PATCH] install_mysql.sh: comment out sql_mode in file 'my.cnf'. --- install_mysql.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_mysql.sh b/install_mysql.sh index 086be4d..6acc674 100755 --- a/install_mysql.sh +++ b/install_mysql.sh @@ -2709,7 +2709,7 @@ socket = $MYSQL_UNIX_SOCKET ## - ## - 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 fi @@ -3564,7 +3564,7 @@ EOF" >> ${logdir}/main.log ## - ## - 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 fi