Skip to content

Commit 71f48ab

Browse files
trostenHery Ramilison
authored andcommitted
Bug#24482156 EXTEND WL#7150: REMOVE USE OF DATADIR IN MYSQLD_SAFE TO SCRIPTS
Don't read config file in datadir in SysV initscript. (cherry picked from commit 20f91166e073e4279ce14a608fc062f1c9ea5a5f)
1 parent 1278f5d commit 71f48ab

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

support-files/mysql.server.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,6 @@ extra_args=""
246246
if test -r "$basedir/my.cnf"
247247
then
248248
extra_args="-e $basedir/my.cnf"
249-
else
250-
if test -r "$datadir/my.cnf"
251-
then
252-
extra_args="-e $datadir/my.cnf"
253-
fi
254249
fi
255250

256251
parse_server_arguments `$print_defaults $extra_args mysqld server mysql_server mysql.server`

0 commit comments

Comments
 (0)