Hello,
I installed pmm server and client on two different machines, following the instructions given here >> [url]Percona Monitoring and Management
Both pmm-server and client got installed properly but I was not able to see the Queries in the Query Analytics window. The pmm server GUI gave errors (PFA).
Also on the client side on giving the command “sudo pmm-admin add queries --user abc --password xyz” gave the following error:
“Error adding queries: “service” failed: exit status 1, Starting pmm-queries-exporter-42001
Unable to start, see /var/log/pmm-queries-exporter-42001.log”
The content of the file pmm-queries-exporter-42001.log:
flag needs an argument: -pid-file
Usage of /usr/local/percona/qan-agent/bin/percona-qan-agent:
-basedir string
Agent basedir (default “/usr/local/percona/qan-agent”)
-listen string
Agent interface address (default “127.0.0.1:9000”)
-pid-file string
PID file (default “percona-agent.pid”)
-ping
Ping API
-version
Print version
Also, on one other client I got the following error:
[MySQL] 2016/08/02 00:25:59 packets.go:118: write unix @->/var/run/mysqld/mysqld.sock: write: broken pipe
Cannot connect to MySQL: Error 1045: Access denied for user ‘root’@‘localhost’ (using password: NO)
Please tell what I am doing wrong. Any help will be highly appreciated.
Thanks.