File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
88
88
mkdir -p " $DATADIR "
89
89
90
90
echo ' Initializing database'
91
- mysql_install_db --datadir=" $DATADIR " --rpm --basedir=/usr/local/mysql
91
+ # "Other options are passed to mysqld." (so we pass all "mysqld" arguments directly here)
92
+ mysql_install_db --datadir=" $DATADIR " --rpm --basedir=/usr/local/mysql " ${@: 2} "
92
93
echo ' Database initialized'
93
94
94
95
SOCKET=" $( _get_config ' socket' " $@ " ) "
Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
88
88
mkdir -p " $DATADIR "
89
89
90
90
echo ' Initializing database'
91
- mysql_install_db --datadir=" $DATADIR " --rpm --keep-my-cnf
91
+ # "Other options are passed to mysqld." (so we pass all "mysqld" arguments directly here)
92
+ mysql_install_db --datadir=" $DATADIR " --rpm --keep-my-cnf " ${@: 2} "
92
93
echo ' Database initialized'
93
94
94
95
SOCKET=" $( _get_config ' socket' " $@ " ) "
You can’t perform that action at this time.
0 commit comments