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"
|
args="$args --user=$user"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$group"
|
#To be enabled if/when we enable --group as an option to mysqld
|
||||||
then
|
#if test -n "$group"
|
||||||
args="$args --group=$group"
|
#then
|
||||||
fi
|
# args="$args --group=$group"
|
||||||
|
#fi
|
||||||
|
|
||||||
# When doing a "cross bootstrap" install, no reference to the current
|
# When doing a "cross bootstrap" install, no reference to the current
|
||||||
# host should be added to the system tables. So we filter out any
|
# 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
|
if test "$user" != "root" -o $SET_USER = 1
|
||||||
then
|
then
|
||||||
USER_OPTION="--user=$user"
|
USER_OPTION="--user=$user"
|
||||||
|
# To be used if/when we enable --system-group as an option to mysqld
|
||||||
GROUP_OPTION="--group=$group"
|
GROUP_OPTION="--group=$group"
|
||||||
fi
|
fi
|
||||||
if test -n "$open_files"
|
if test -n "$open_files"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user