host parameter in .my.cnf is ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have a .my.cnf in my home directory which sets the default host to 127.0.0.1.
I can connect to mysql if I type just "mysql" in the console, but it doesn't work with the percona-toolkit tools.
(in my case, I can't connect to localhost because I have skip_name_
root@db01:~# cat ~/.my.cnf
[client]
user=root
password=xxxx
host=127.0.0.1
root@db01:~# pt-deadlock-logger
DBI connect(
root@db01:~# pt-deadlock-logger -h 127.0.0.1
server ts thread txn_id txn_time user hostname ip db tbl idx lock_type lock_mode wait_hold victim query
which specific version of pt-deadlock-logger are you using? does other toolkit tools able to connect using you .my.cnf or only pt-deadlock-logger has this type of issue?