install_mysql.sh: only one change in comment.

This commit is contained in:
Christoph 2018-12-10 16:29:35 +01:00
parent b358031075
commit b5ebc13eb6

View File

@ -2708,9 +2708,13 @@ socket = $MYSQL_UNIX_SOCKET
## -
## - Since Version 8.0.11 NO_AUTO_CREATE_USER is no longer available
## -
## - The default SQL mode in MySQL 8.0 includes these modes:
## - ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE,
## - ERROR_FOR_DIVISION_BY_ZERO, and NO_ENGINE_SUBSTITUTION.
## -
## - For now, we will use the default value, it seems to be ok.
## -
#sql-mode = \"ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\"
#sql-mode = \"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION\"
" >> ${logdir}/main.log
else
@ -3568,9 +3572,13 @@ interactive-timeout
## -
## - Since Version 8.0.11 NO_AUTO_CREATE_USER is no longer available
## -
## - The default SQL mode in MySQL 8.0 includes these modes:
## - ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE,
## - ERROR_FOR_DIVISION_BY_ZERO, and NO_ENGINE_SUBSTITUTION.
## -
## - For now, we will use the default value, it seems to be ok.
## -
#sql-mode = \"ONLY_FULL_GROUP_BY,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\"
#sql-mode = \"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION\"
EOF" >> ${logdir}/main.log
@ -5353,7 +5361,7 @@ if ! $UPDATE_MYSQL || $_sys_maint_cnf_needed ; then
[[ $OK = "yes" ]] || fatal "Abbruch durch User"
fi
fi # if [[ "$MYSQL_MAJOR_VERSION" -lt 8 ]]
fi # if [[ "$MYSQL_DISTRIBUTION" = "MariaDB" ]]
echononl "Give 'Grant' permission to MySQL User '${_maint_user}'.."
echo "" >> ${logdir}/main.log