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