Skip to content

Commit 4efd127

Browse files
committed
Revert to not using daemonize flag for temporary startup of 5.7 server
Daemonize lets us avoid a manual wait loop for the server to be ready, but for 5.7 it causes a log redirection error when the image is started with -t, so for now just revert 5.7 image to using the wait loop.
1 parent 5fa3526 commit 4efd127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.template.Debian/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ mysql_get_config() {
8686

8787
# Do a temporary startup of the MySQL server, for init purposes
8888
docker_temp_server_start() {
89-
if [ "${MYSQL_MAJOR}" = '5.6' ]; then
89+
if [ "${MYSQL_MAJOR}" = '5.6' ] || [ "${MYSQL_MAJOR}" = '5.7' ]; then
9090
"$@" --skip-networking --socket="${SOCKET}" &
9191
mysql_note "Waiting for server startup"
9292
local i

0 commit comments

Comments
 (0)