mysql with password command line code example
Example 1: how to pass password mysql command line
mysql -u user -ppassword
password should not have any space with -p
Example 2: How to pass password to mysql command line
mysqladmin processlist -u root -pYOURPASSWORDHERE
No space between your password and the -p