diff --git a/root-common/usr/share/container-scripts/mysql/common.sh b/root-common/usr/share/container-scripts/mysql/common.sh index 918d36cc..85f76b1c 100644 --- a/root-common/usr/share/container-scripts/mysql/common.sh +++ b/root-common/usr/share/container-scripts/mysql/common.sh @@ -163,8 +163,9 @@ EOSQL if [ -v MYSQL_ROOT_PASSWORD ]; then log_info "Setting password for MySQL root user ..." if [ "$MYSQL_VERSION" \> "10.0" ] ; then + # use a password here, because otherwise a password policy can reject the creation of the root user mysql $mysql_flags <