1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-24248: my_print_defaults is not taking all the values when using -e

option which is called from mysql.server (extra_args).

Fix: change mysql.server script to use --defaults-extra-file instead of -e
This commit is contained in:
Rucha Deodhar
2021-06-08 11:25:47 +05:30
parent 35294053b2
commit f88d130e71
3 changed files with 49 additions and 2 deletions

View File

@@ -200,11 +200,11 @@ su_kill() {
extra_args=""
if test -r "$basedir/my.cnf"
then
extra_args="-e $basedir/my.cnf"
extra_args="--defaults-extra-file=$basedir/my.cnf"
else
if test -r "$datadir/my.cnf"
then
extra_args="-e $datadir/my.cnf"
extra_args="--defaults-extra-file=$datadir/my.cnf"
fi
fi