File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ docker_process_sql() {
198
198
set -- --database=" $MYSQL_DATABASE " " $@ "
199
199
fi
200
200
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} " " $@ "
202
202
}
203
203
204
204
# Initializes database with timezone info and root password, plus optional extra db/user
@@ -284,7 +284,7 @@ docker_setup_db() {
284
284
_mysql_passfile () {
285
285
# echo the password to the "file" the client uses
286
286
# 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 )
288
288
if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
289
289
cat << -EOF
290
290
[client]
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ docker_process_sql() {
198
198
set -- --database=" $MYSQL_DATABASE " " $@ "
199
199
fi
200
200
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} " " $@ "
202
202
}
203
203
204
204
# Initializes database with timezone info and root password, plus optional extra db/user
@@ -284,7 +284,7 @@ docker_setup_db() {
284
284
_mysql_passfile () {
285
285
# echo the password to the "file" the client uses
286
286
# 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 )
288
288
if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
289
289
cat << -EOF
290
290
[client]
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ docker_process_sql() {
198
198
set -- --database=" $MYSQL_DATABASE " " $@ "
199
199
fi
200
200
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} " " $@ "
202
202
}
203
203
204
204
# Initializes database with timezone info and root password, plus optional extra db/user
@@ -284,7 +284,7 @@ docker_setup_db() {
284
284
_mysql_passfile () {
285
285
# echo the password to the "file" the client uses
286
286
# 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 )
288
288
if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
289
289
cat << -EOF
290
290
[client]
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ docker_process_sql() {
198
198
set -- --database=" $MYSQL_DATABASE " " $@ "
199
199
fi
200
200
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} " " $@ "
202
202
}
203
203
204
204
# Initializes database with timezone info and root password, plus optional extra db/user
@@ -284,7 +284,7 @@ docker_setup_db() {
284
284
_mysql_passfile () {
285
285
# echo the password to the "file" the client uses
286
286
# 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 )
288
288
if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
289
289
cat << -EOF
290
290
[client]
You can’t perform that action at this time.
0 commit comments