1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-15 00:02:46 +03:00

mysql_install_db: Use --defaults-group-suffix if specified

Signed-off-by: Daniel Black <daniel@linux.vnet.ibm.com>
This commit is contained in:
Daniel Black
2017-12-12 15:22:22 +11:00
committed by Sergey Vojtovich
parent a5285a8fb7
commit 5ea28015d5

View File

@ -49,6 +49,9 @@ Usage: $0 [OPTIONS]
--defaults-extra-file=name --defaults-extra-file=name
Read this file after the global files are read. Read this file after the global files are read.
--defaults-file=name Only read default options from the given file name. --defaults-file=name Only read default options from the given file name.
--defaults-group-suffix=name
In addition to the given groups, read also groups with
this suffix
--force Causes mysql_install_db to run even if DNS does not --force Causes mysql_install_db to run even if DNS does not
work. In that case, grant table entries that work. In that case, grant table entries that
normally use hostnames will use IP addresses. normally use hostnames will use IP addresses.
@ -127,8 +130,8 @@ parse_arguments()
--verbose) verbose=1 ;; # Obsolete --verbose) verbose=1 ;; # Obsolete
--rpm) in_rpm=1 ;; --rpm) in_rpm=1 ;;
--help) usage ;; --help) usage ;;
--no-defaults|--defaults-file=*|--defaults-extra-file=*) --no-defaults|--defaults-file=*|--defaults-extra-file=*|--defaults-group-suffix=*)
defaults="$arg" ;; defaults="$defaults $arg" ;;
--cross-bootstrap|--windows) --cross-bootstrap|--windows)
# Used when building the MariaDB system tables on a different host than # Used when building the MariaDB system tables on a different host than