using --defaults-file can't use host from there
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
i wish to keep connect credentials in separate file, so it can be shared across applications
there's --defaults-file option, which tells DBI to tell libmysqlclient library to use that file as defaults.
with my credentials file being:
[client]
user = username
pass = password
port = 3314
host = dbhost
$ pt-kill --config /etc/percona-
DBI is called with arguments:
DBI connect(
all params except host work, but host parameter is always enforced to be localhost!
ideally i would like to able to specify different `mysql_
tags: | added: pt-kill |
tags: |
added: option-parsing removed: pt-kill |
tags: | added: i53309 |
solution to remove enforced "localhost"