percona-toolkit .mylogin.cnf

Bug #1301302 reported by PavelVD
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Triaged
Low
Frank Cizmich

Bug Description

With Mysql 5.6 and .mylogin.cnf in percona toolkit 2.2.7 error when using .mylogin.cnf

root@sql-forum:~# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 13
Server version: 5.6.16-64.2-569.wheezy-log (Debian)

Copyright (c) 2009-2014 Percona LLC and/or its affiliates
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> Ctrl-C -- exit!
Aborted
root@sql-forum:~# pt-show-grants
DBI connect(';;mysql_read_default_group=client','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/bin/pt-show-grants line 1330

tags: added: pt-show-grants
Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Verified with PS 5.6 and Percona Toolkit 2.2.9

nilnandan@nilnandan-Dell-XPS:~$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 203
Server version: 5.6.19-67.0 Percona Server (GPL), Release 67.0, Revision 618

Copyright (c) 2009-2014 Percona LLC and/or its affiliates
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> quit
Bye
nilnandan@nilnandan-Dell-XPS:~$
nilnandan@nilnandan-Dell-XPS:~$
nilnandan@nilnandan-Dell-XPS:~$ pt-show-grants
DBI connect(';;mysql_read_default_group=client','',...) failed: Access denied for user 'nilnandan'@'localhost' (using password: NO) at /usr/bin/pt-show-grants line 1330.
nilnandan@nilnandan-Dell-XPS:~$
nilnandan@nilnandan-Dell-XPS:~$ pt-show-grants --version
pt-show-grants 2.2.9
nilnandan@nilnandan-Dell-XPS:~$ ls -al .mylogin.cnf
-rw------- 1 nilnandan nilnandan 100 Aug 4 12:49 .mylogin.cnf
nilnandan@nilnandan-Dell-XPS:~$

Changed in percona-toolkit:
status: New → Confirmed
tags: added: mysql-5.6
Revision history for this message
Kirill I. (kerya) wrote :

same thing. Using gentoo. percona-toolit-2.2.7 and mysql 5.6.21

Changed in percona-toolkit:
status: Confirmed → Triaged
assignee: nobody → Frank Cizmich (frank-cizmich)
importance: Undecided → Low
tags: added: i53309
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-808

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.