diff --git a/5.6/docker-entrypoint.sh b/5.6/docker-entrypoint.sh index 83d6ffe5e..bd0dc689d 100755 --- a/5.6/docker-entrypoint.sh +++ b/5.6/docker-entrypoint.sh @@ -208,7 +208,7 @@ docker_process_sql() { set -- --database="$MYSQL_DATABASE" "$@" fi - mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" + mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" --comments "$@" } # Initializes database with timezone info and root password, plus optional extra db/user diff --git a/5.7/docker-entrypoint.sh b/5.7/docker-entrypoint.sh index 83d6ffe5e..bd0dc689d 100755 --- a/5.7/docker-entrypoint.sh +++ b/5.7/docker-entrypoint.sh @@ -208,7 +208,7 @@ docker_process_sql() { set -- --database="$MYSQL_DATABASE" "$@" fi - mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" + mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" --comments "$@" } # Initializes database with timezone info and root password, plus optional extra db/user diff --git a/8.0/docker-entrypoint.sh b/8.0/docker-entrypoint.sh index 83d6ffe5e..bd0dc689d 100755 --- a/8.0/docker-entrypoint.sh +++ b/8.0/docker-entrypoint.sh @@ -208,7 +208,7 @@ docker_process_sql() { set -- --database="$MYSQL_DATABASE" "$@" fi - mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" + mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" --comments "$@" } # Initializes database with timezone info and root password, plus optional extra db/user diff --git a/template/docker-entrypoint.sh b/template/docker-entrypoint.sh index 83d6ffe5e..bd0dc689d 100755 --- a/template/docker-entrypoint.sh +++ b/template/docker-entrypoint.sh @@ -208,7 +208,7 @@ docker_process_sql() { set -- --database="$MYSQL_DATABASE" "$@" fi - mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" + mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" --comments "$@" } # Initializes database with timezone info and root password, plus optional extra db/user