Skip to content

Commit 6659750

Browse files
committed
Apply update.sh
1 parent 4efd127 commit 6659750

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

5.6/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

5.7/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

8.0/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)