Skip to content

Commit

Permalink
Merge pull request #453 from banzaicloud/fix-initdb-silent-fail
Browse files Browse the repository at this point in the history
fix silently skipped init scripts
  • Loading branch information
tianon authored Jul 30, 2018
2 parents 075c24d + 381a03b commit 333935a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions 5.5/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
fi

echo
ls /docker-entrypoint-initdb.d/ > /dev/null
for f in /docker-entrypoint-initdb.d/*; do
process_init_file "$f" "${mysql[@]}"
done
Expand Down
1 change: 1 addition & 0 deletions 5.6/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
fi

echo
ls /docker-entrypoint-initdb.d/ > /dev/null
for f in /docker-entrypoint-initdb.d/*; do
process_init_file "$f" "${mysql[@]}"
done
Expand Down
1 change: 1 addition & 0 deletions 5.7/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
fi

echo
ls /docker-entrypoint-initdb.d/ > /dev/null
for f in /docker-entrypoint-initdb.d/*; do
process_init_file "$f" "${mysql[@]}"
done
Expand Down
1 change: 1 addition & 0 deletions 8.0/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
fi

echo
ls /docker-entrypoint-initdb.d/ > /dev/null
for f in /docker-entrypoint-initdb.d/*; do
process_init_file "$f" "${mysql[@]}"
done
Expand Down

0 comments on commit 333935a

Please sign in to comment.