MMDEV-27823 mariadb-install-db --group fails
Fixed by not sending --group option to the server (for now) Reviwer: Sergei Golubchik
This commit is contained in:
parent
1c74d1bcac
commit
3fd79a04b6
@ -484,10 +484,11 @@ then
|
||||
args="$args --user=$user"
|
||||
fi
|
||||
|
||||
if test -n "$group"
|
||||
then
|
||||
args="$args --group=$group"
|
||||
fi
|
||||
#To be enabled if/when we enable --group as an option to mysqld
|
||||
#if test -n "$group"
|
||||
#then
|
||||
# args="$args --group=$group"
|
||||
#fi
|
||||
|
||||
# When doing a "cross bootstrap" install, no reference to the current
|
||||
# host should be added to the system tables. So we filter out any
|
||||
|
@ -722,6 +722,7 @@ then
|
||||
if test "$user" != "root" -o $SET_USER = 1
|
||||
then
|
||||
USER_OPTION="--user=$user"
|
||||
# To be used if/when we enable --system-group as an option to mysqld
|
||||
GROUP_OPTION="--group=$group"
|
||||
fi
|
||||
if test -n "$open_files"
|
||||
|
Loading…
x
Reference in New Issue
Block a user