Comment 1 for bug 1474547

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Hi,

I don't know why you are giving -- two times in command line, before user information.
Can you try to run like this and check?

pt-mysql-summary --user=root --password=<yourpassword>

If you don't want to give password in command line then you can create .my.cnf in your home folder and then run direct pt-mysql-summary command. i.e

nilnandan@desktop:~$ cat .my.cnf
[client]
user=root
password=root
nilnandan@desktop:~$
nilnandan@desktop:~$ pt-mysql-summary
# Percona Toolkit MySQL Summary Report #######################
              System time | 2015-07-21 06:33:51 UTC (local TZ: IST +0530)
# Instances ##################################################
  Port Data Directory Nice OOM Socket
  ===== ========================== ==== === ======
   3306 /var/lib/mysql 0 0 /var/run/mysqld/mysqld.sock
# MySQL Executable ###########################################
       Path to executable | /usr/sbin/mysqld
              Has symbols | No
...