File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ docker_process_sql() {
188
188
set -- --database=" $MYSQL_DATABASE " " $@ "
189
189
fi
190
190
191
- mysql --defaults-file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
191
+ mysql --defaults-extra- file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
192
192
}
193
193
194
194
# Initializes database with timezone info and root password, plus optional extra db/user
@@ -258,7 +258,7 @@ docker_setup_db() {
258
258
_mysql_passfile () {
259
259
# echo the password to the "file" the client uses
260
260
# the client command will use process substitution to create a file on the fly
261
- # ie: --defaults-file=<( _mysql_passfile )
261
+ # ie: --defaults-extra- file=<( _mysql_passfile )
262
262
if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
263
263
cat << -EOF
264
264
[client]
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ docker_process_sql() {
188
188
set -- --database=" $MYSQL_DATABASE " " $@ "
189
189
fi
190
190
191
- mysql --defaults-file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
191
+ mysql --defaults-extra- file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
192
192
}
193
193
194
194
# Initializes database with timezone info and root password, plus optional extra db/user
@@ -258,7 +258,7 @@ docker_setup_db() {
258
258
_mysql_passfile () {
259
259
# echo the password to the "file" the client uses
260
260
# the client command will use process substitution to create a file on the fly
261
- # ie: --defaults-file=<( _mysql_passfile )
261
+ # ie: --defaults-extra- file=<( _mysql_passfile )
262
262
if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
263
263
cat << -EOF
264
264
[client]
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ docker_process_sql() {
188
188
set -- --database=" $MYSQL_DATABASE " " $@ "
189
189
fi
190
190
191
- mysql --defaults-file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
191
+ mysql --defaults-extra- file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
192
192
}
193
193
194
194
# Initializes database with timezone info and root password, plus optional extra db/user
@@ -258,7 +258,7 @@ docker_setup_db() {
258
258
_mysql_passfile () {
259
259
# echo the password to the "file" the client uses
260
260
# the client command will use process substitution to create a file on the fly
261
- # ie: --defaults-file=<( _mysql_passfile )
261
+ # ie: --defaults-extra- file=<( _mysql_passfile )
262
262
if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
263
263
cat << -EOF
264
264
[client]
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ docker_process_sql() {
188
188
set -- --database=" $MYSQL_DATABASE " " $@ "
189
189
fi
190
190
191
- mysql --defaults-file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
191
+ mysql --defaults-extra- file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
192
192
}
193
193
194
194
# Initializes database with timezone info and root password, plus optional extra db/user
@@ -258,7 +258,7 @@ docker_setup_db() {
258
258
_mysql_passfile () {
259
259
# echo the password to the "file" the client uses
260
260
# the client command will use process substitution to create a file on the fly
261
- # ie: --defaults-file=<( _mysql_passfile )
261
+ # ie: --defaults-extra- file=<( _mysql_passfile )
262
262
if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
263
263
cat << -EOF
264
264
[client]
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ docker_process_sql() {
188
188
set -- --database=" $MYSQL_DATABASE " " $@ "
189
189
fi
190
190
191
- mysql --defaults-file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
191
+ mysql --defaults-extra- file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
192
192
}
193
193
194
194
# Initializes database with timezone info and root password, plus optional extra db/user
@@ -258,7 +258,7 @@ docker_setup_db() {
258
258
_mysql_passfile () {
259
259
# echo the password to the "file" the client uses
260
260
# the client command will use process substitution to create a file on the fly
261
- # ie: --defaults-file=<( _mysql_passfile )
261
+ # ie: --defaults-extra- file=<( _mysql_passfile )
262
262
if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
263
263
cat << -EOF
264
264
[client]
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ docker_process_sql() {
188
188
set -- --database=" $MYSQL_DATABASE " " $@ "
189
189
fi
190
190
191
- mysql --defaults-file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
191
+ mysql --defaults-extra- file=<( _mysql_passfile " ${passfileArgs[@]} " ) --protocol=socket -uroot -hlocalhost --socket=" ${SOCKET} " " $@ "
192
192
}
193
193
194
194
# Initializes database with timezone info and root password, plus optional extra db/user
@@ -258,7 +258,7 @@ docker_setup_db() {
258
258
_mysql_passfile () {
259
259
# echo the password to the "file" the client uses
260
260
# the client command will use process substitution to create a file on the fly
261
- # ie: --defaults-file=<( _mysql_passfile )
261
+ # ie: --defaults-extra- file=<( _mysql_passfile )
262
262
if [ ' --dont-use-mysql-root-password' != " $1 " ] && [ -n " $MYSQL_ROOT_PASSWORD " ]; then
263
263
cat << -EOF
264
264
[client]
You can’t perform that action at this time.
0 commit comments