mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Update mysqld_safe.sh - introduce defaults-group-suffix handling
"--defaults-group-suffix" must be be given as the first argument on the command-line of mysqld
This commit is contained in:
parent
13274032af
commit
fd3ad41eed
1 changed files with 4 additions and 1 deletions
|
@ -21,6 +21,7 @@ mysqld_ld_library_path=
|
|||
flush_caches=0
|
||||
numa_interleave=0
|
||||
unsafe_my_cnf=0
|
||||
defaults_group_suffix=
|
||||
|
||||
# Initial logging status: error log is not open, and not using syslog
|
||||
logging=init
|
||||
|
@ -265,6 +266,8 @@ parse_arguments() {
|
|||
--flush-caches) flush_caches=1 ;;
|
||||
--numa-interleave) numa_interleave=1 ;;
|
||||
|
||||
--defaults-group-suffix=*) defaults_group_suffix="$arg" ;;
|
||||
|
||||
--help) usage ;;
|
||||
|
||||
*)
|
||||
|
@ -845,7 +848,7 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
for i in "$ledir/$MYSQLD" "$defaults" "--basedir=$MY_BASEDIR_VERSION" \
|
||||
for i in "$ledir/$MYSQLD" "$defaults_group_suffix" "$defaults" "--basedir=$MY_BASEDIR_VERSION" \
|
||||
"--datadir=$DATADIR" "--plugin-dir=$plugin_dir" "$USER_OPTION"
|
||||
do
|
||||
cmd="$cmd "`shell_quote_string "$i"`
|
||||
|
|
Loading…
Reference in a new issue