File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ docker_process_sql() {
198198 set -- --database=" $MYSQL_DATABASE " " $@ "
199199 fi
200200
201- mysql --defaults-file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
201+ mysql --defaults-extra- file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
202202}
203203
204204# Initializes database with timezone info and root password, plus optional extra db/user
@@ -284,7 +284,7 @@ docker_setup_db() {
284284_mysql_passfile () {
285285 # echo the password to the "file" the client uses
286286 # the client command will use process substitution to create a file on the fly
287- # ie: --defaults-file=<( _mysql_passfile )
287+ # ie: --defaults-extra- file=<( _mysql_passfile )
288288 if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
289289 cat << -EOF
290290 [client]
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ docker_process_sql() {
198198 set -- --database=" $MYSQL_DATABASE " " $@ "
199199 fi
200200
201- mysql --defaults-file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
201+ mysql --defaults-extra- file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
202202}
203203
204204# Initializes database with timezone info and root password, plus optional extra db/user
@@ -284,7 +284,7 @@ docker_setup_db() {
284284_mysql_passfile () {
285285 # echo the password to the "file" the client uses
286286 # the client command will use process substitution to create a file on the fly
287- # ie: --defaults-file=<( _mysql_passfile )
287+ # ie: --defaults-extra- file=<( _mysql_passfile )
288288 if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
289289 cat << -EOF
290290 [client]
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ docker_process_sql() {
198198 set -- --database=" $MYSQL_DATABASE " " $@ "
199199 fi
200200
201- mysql --defaults-file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
201+ mysql --defaults-extra- file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
202202}
203203
204204# Initializes database with timezone info and root password, plus optional extra db/user
@@ -284,7 +284,7 @@ docker_setup_db() {
284284_mysql_passfile () {
285285 # echo the password to the "file" the client uses
286286 # the client command will use process substitution to create a file on the fly
287- # ie: --defaults-file=<( _mysql_passfile )
287+ # ie: --defaults-extra- file=<( _mysql_passfile )
288288 if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
289289 cat << -EOF
290290 [client]
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ docker_process_sql() {
198198 set -- --database=" $MYSQL_DATABASE " " $@ "
199199 fi
200200
201- mysql --defaults-file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
201+ mysql --defaults-extra- file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
202202}
203203
204204# Initializes database with timezone info and root password, plus optional extra db/user
@@ -284,7 +284,7 @@ docker_setup_db() {
284284_mysql_passfile () {
285285 # echo the password to the "file" the client uses
286286 # the client command will use process substitution to create a file on the fly
287- # ie: --defaults-file=<( _mysql_passfile )
287+ # ie: --defaults-extra- file=<( _mysql_passfile )
288288 if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
289289 cat << -EOF
290290 [client]
You can’t perform that action at this time.
0 commit comments