diff --git a/5.6/docker-entrypoint.sh b/5.6/docker-entrypoint.sh index d1b8f30..628f952 100755 --- a/5.6/docker-entrypoint.sh +++ b/5.6/docker-entrypoint.sh @@ -35,7 +35,7 @@ if [ "$1" = 'mysqld' ]; then # Test that the server can start. We redirect stdout to /dev/null so # only the error messages are left. result=0 output=$("$@" --verbose --help 2>%%VALIDATE_CONFIG%%12>&1 > /dev/null) || result=$? if [ ! "$result" = "0" ]; then echo >&2 '[Entrypoint] ERROR: Unable to start MySQL. Please check your configuration.' echo >&2 "[Entrypoint] $output" diff --git a/5.7/docker-entrypoint.sh b/5.7/docker-entrypoint.sh index 45d13ab..b667658 100755 --- a/5.7/docker-entrypoint.sh +++ b/5.7/docker-entrypoint.sh @@ -35,7 +35,7 @@ if [ "$1" = 'mysqld' ]; then # Test that the server can start. We redirect stdout to /dev/null so # only the error messages are left. result=0 output=$("$@" --verbose --help 2>%%VALIDATE_CONFIG%%12>&1 > /dev/null) || result=$? if [ ! "$result" = "0" ]; then echo >&2 '[Entrypoint] ERROR: Unable to start MySQL. Please check your configuration.' echo >&2 "[Entrypoint] $output"