mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-16 01:00:38 +08:00
Rearrange mysql options so that --defaults-file is always first, and remove default: localhost from pt-ms and pt-stalk, since parse_options.sh deals with defaults + config files for mysql options poorly
This commit is contained in:
@@ -2422,7 +2422,7 @@ main() {
|
||||
trap sigtrap HUP INT TERM
|
||||
|
||||
local MYSQL_ARGS="$(mysql_options)"
|
||||
EXT_ARGV="$EXT_ARGV $MYSQL_ARGS"
|
||||
EXT_ARGV="$(arrange_mysql_options "$EXT_ARGV $MYSQL_ARGS")"
|
||||
|
||||
# Check if mysql and mysqldump are there, otherwise bail out early.
|
||||
# But don't if they passed in --read-samples, since we don't need
|
||||
@@ -2980,7 +2980,7 @@ pathname.
|
||||
|
||||
=item --host
|
||||
|
||||
short form: -h; type: string; default: localhost
|
||||
short form: -h; type: string
|
||||
|
||||
Host to connect to.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user