percona-toolkit .mylogin.cnf
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-
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(
tags: | added: pt-show-grants |
tags: | added: mysql-5.6 |
Changed in percona-toolkit: | |
status: | Confirmed → Triaged |
assignee: | nobody → Frank Cizmich (frank-cizmich) |
importance: | Undecided → Low |
tags: | added: i53309 |
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 nilnandan- Dell-XPS: ~$ nilnandan- Dell-XPS: ~$ nilnandan- Dell-XPS: ~$ pt-show-grants ';;mysql_ read_default_ group=client' ,'',... ) failed: Access denied for user 'nilnandan' @'localhost' (using password: NO) at /usr/bin/ pt-show- grants line 1330. nilnandan- Dell-XPS: ~$ nilnandan- Dell-XPS: ~$ pt-show-grants --version nilnandan- Dell-XPS: ~$ ls -al .mylogin.cnf nilnandan- Dell-XPS: ~$
Bye
nilnandan@
nilnandan@
nilnandan@
DBI connect(
nilnandan@
nilnandan@
pt-show-grants 2.2.9
nilnandan@
-rw------- 1 nilnandan nilnandan 100 Aug 4 12:49 .mylogin.cnf
nilnandan@