-
Type:
Bug
-
Status: Done
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: 1.5.3, 1.6.1, 1.6.0
-
Fix Version/s: 1.13.0
-
Component/s: MySQLd_Exporter
-
Labels:None
After running latest upgrades of kernel (4.14), percona xtradb cluster and pmm-client mysql:metrics stopped working. It shows error:
time="2018-01-26T08:55:58Z" level=info msg="Starting mysqld_exporter (version=1.6.1, branch=master, revision=4114da2e398fb94279eeb23acaa2082236b712e6)" source="mysqld_exporter.go:743" time="2018-01-26T08:55:58Z" level=info msg="Build context (go=go1.9.2, user=, date=)" source="mysqld_exporter.go:744" time="2018-01-26T08:55:58Z" level=fatal msg="failed reading ini file: open .my.cnf: no such file or directory" source="mysqld_exporter.go:750"
The file is in my $HOME
root@db1:~# ls -ltr $HOME/.my.cnf -rw-r--r-- 1 root root 125 Sep 5 17:52 /root/.my.cnf root@db1:~#
I've tested 1.6.0, 1.6.1, 1.5.3 - nothing works at this point.