how to log intp mysql with password code example
Example 1: mysql change user password
SET PASSWORD FOR 'user-name'@'localhost' = PASSWORD('NEW_USER_PASSWORD');FLUSH PRIVILEGES;
Example 2: How to pass password to mysql command line
mysqladmin processlist -u root -pYOURPASSWORDHERE
No space between your password and the -p