Skip to content

Commit 75f81c8

Browse files
authored
Merge pull request #601 from ltangvald/fixtty
Revert to not using daemonize flag for temporary startup of 5.7 server
2 parents 5fa3526 + 6659750 commit 75f81c8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
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

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)