diff --git a/10.1/docker-entrypoint.sh b/10.1/docker-entrypoint.sh index 281fd8d3..2bfe7878 100755 --- a/10.1/docker-entrypoint.sh +++ b/10.1/docker-entrypoint.sh @@ -188,7 +188,7 @@ docker_process_sql() { set -- --database="$MYSQL_DATABASE" "$@" fi - mysql --defaults-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" + mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" } # Initializes database with timezone info and root password, plus optional extra db/user @@ -258,7 +258,7 @@ docker_setup_db() { _mysql_passfile() { # echo the password to the "file" the client uses # the client command will use process substitution to create a file on the fly - # ie: --defaults-file=<( _mysql_passfile ) + # ie: --defaults-extra-file=<( _mysql_passfile ) if [ '--dont-use-mysql-root-password' != "$1" ] && [ -n "$MYSQL_ROOT_PASSWORD" ]; then cat <<-EOF [client] diff --git a/10.2/docker-entrypoint.sh b/10.2/docker-entrypoint.sh index 281fd8d3..2bfe7878 100755 --- a/10.2/docker-entrypoint.sh +++ b/10.2/docker-entrypoint.sh @@ -188,7 +188,7 @@ docker_process_sql() { set -- --database="$MYSQL_DATABASE" "$@" fi - mysql --defaults-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" + mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" } # Initializes database with timezone info and root password, plus optional extra db/user @@ -258,7 +258,7 @@ docker_setup_db() { _mysql_passfile() { # echo the password to the "file" the client uses # the client command will use process substitution to create a file on the fly - # ie: --defaults-file=<( _mysql_passfile ) + # ie: --defaults-extra-file=<( _mysql_passfile ) if [ '--dont-use-mysql-root-password' != "$1" ] && [ -n "$MYSQL_ROOT_PASSWORD" ]; then cat <<-EOF [client] diff --git a/10.3/docker-entrypoint.sh b/10.3/docker-entrypoint.sh index 281fd8d3..2bfe7878 100755 --- a/10.3/docker-entrypoint.sh +++ b/10.3/docker-entrypoint.sh @@ -188,7 +188,7 @@ docker_process_sql() { set -- --database="$MYSQL_DATABASE" "$@" fi - mysql --defaults-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" + mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" } # Initializes database with timezone info and root password, plus optional extra db/user @@ -258,7 +258,7 @@ docker_setup_db() { _mysql_passfile() { # echo the password to the "file" the client uses # the client command will use process substitution to create a file on the fly - # ie: --defaults-file=<( _mysql_passfile ) + # ie: --defaults-extra-file=<( _mysql_passfile ) if [ '--dont-use-mysql-root-password' != "$1" ] && [ -n "$MYSQL_ROOT_PASSWORD" ]; then cat <<-EOF [client] diff --git a/10.4/docker-entrypoint.sh b/10.4/docker-entrypoint.sh index 281fd8d3..2bfe7878 100755 --- a/10.4/docker-entrypoint.sh +++ b/10.4/docker-entrypoint.sh @@ -188,7 +188,7 @@ docker_process_sql() { set -- --database="$MYSQL_DATABASE" "$@" fi - mysql --defaults-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" + mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" } # Initializes database with timezone info and root password, plus optional extra db/user @@ -258,7 +258,7 @@ docker_setup_db() { _mysql_passfile() { # echo the password to the "file" the client uses # the client command will use process substitution to create a file on the fly - # ie: --defaults-file=<( _mysql_passfile ) + # ie: --defaults-extra-file=<( _mysql_passfile ) if [ '--dont-use-mysql-root-password' != "$1" ] && [ -n "$MYSQL_ROOT_PASSWORD" ]; then cat <<-EOF [client] diff --git a/10.5/docker-entrypoint.sh b/10.5/docker-entrypoint.sh index 281fd8d3..2bfe7878 100755 --- a/10.5/docker-entrypoint.sh +++ b/10.5/docker-entrypoint.sh @@ -188,7 +188,7 @@ docker_process_sql() { set -- --database="$MYSQL_DATABASE" "$@" fi - mysql --defaults-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" + mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" } # Initializes database with timezone info and root password, plus optional extra db/user @@ -258,7 +258,7 @@ docker_setup_db() { _mysql_passfile() { # echo the password to the "file" the client uses # the client command will use process substitution to create a file on the fly - # ie: --defaults-file=<( _mysql_passfile ) + # ie: --defaults-extra-file=<( _mysql_passfile ) if [ '--dont-use-mysql-root-password' != "$1" ] && [ -n "$MYSQL_ROOT_PASSWORD" ]; then cat <<-EOF [client] diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 281fd8d3..2bfe7878 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -188,7 +188,7 @@ docker_process_sql() { set -- --database="$MYSQL_DATABASE" "$@" fi - mysql --defaults-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" + mysql --defaults-extra-file=<( _mysql_passfile "${passfileArgs[@]}") --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" "$@" } # Initializes database with timezone info and root password, plus optional extra db/user @@ -258,7 +258,7 @@ docker_setup_db() { _mysql_passfile() { # echo the password to the "file" the client uses # the client command will use process substitution to create a file on the fly - # ie: --defaults-file=<( _mysql_passfile ) + # ie: --defaults-extra-file=<( _mysql_passfile ) if [ '--dont-use-mysql-root-password' != "$1" ] && [ -n "$MYSQL_ROOT_PASSWORD" ]; then cat <<-EOF [client]