Error while using pt-query-digest processlist

427 views
Skip to first unread message

Viswanatha Reddy

unread,
May 6, 2016, 11:35:06 AM5/6/16
to Percona Discussion
am new to percona when am i using below one am getting below error so can any one help here.

pt-query-digest --processlist h=localhost --interval=0.01 --output=slowlog


output Error :-
-----------------


DBI connect(';host=localhost;mysql_read_default_group=client','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/bin/pt-query-digest line 1001



Thanks,
Viswanatha K

Roel Van de Paar

unread,
May 8, 2016, 8:18:49 PM5/8/16
to Percona Discussion
Hi Viswanatha,

Please try using --user and --password

Lee Parayno

unread,
May 11, 2016, 3:00:16 PM5/11/16
to percona-d...@googlegroups.com
Since you do not have anonymous users or allow your root user to connect without a password “(using password: NO)" configured, you need to specify the username and password for your MySQL instance.


pt-query-digest —user <user> —password <passord> …….

Lee Parayno

--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to percona-discuss...@googlegroups.com.
To post to this group, send email to percona-d...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages