mysql connect command line password code example
Example 1: mysql cli connect with password
mysql --user=root --password=mypass
Example 2: How to pass password to mysql command line
mysqladmin processlist -u root -pYOURPASSWORDHERE
No space between your password and the -p