! is a metachar for bash so it will not work directly. please add ' ' in password, it will work.
nilnandan@desktop:~$ pt-mysql-summary --user=nilnandan --password=nil!_123
bash: !_123: event not found
nilnandan@desktop:~$
nilnandan@desktop:~$ pt-mysql-summary --user=nilnandan --password='nil!_123'
Warning: Using a password on the command line interface can be insecure.
# Percona Toolkit MySQL Summary Report ####################### System time | 2015-07-22 06:35:39 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 ###########################################
Hi,
! is a metachar for bash so it will not work directly. please add ' ' in password, it will work.
nilnandan@ desktop: ~$ pt-mysql-summary --user=nilnandan --password=nil!_123 desktop: ~$
bash: !_123: event not found
nilnandan@
nilnandan@ desktop: ~$ pt-mysql-summary --user=nilnandan --password= 'nil!_123' ####### ####### ##
System time | 2015-07-22 06:35:39 UTC (local TZ: IST +0530) ####### ####### ####### ####### ####### ####### # ======= ======= ===== ==== === ====== mysqld/ mysqld. sock ####### ####### ####### ####### ####### #
Warning: Using a password on the command line interface can be insecure.
# Percona Toolkit MySQL Summary Report #######
# Instances #######
Port Data Directory Nice OOM Socket
===== =======
3306 /var/lib/mysql 0 0 /var/run/
# MySQL Executable #######