# `SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')` is deprecated SET PASSWORD FOR <user> = '<plaintext_password>'; FLUSH PRIVILEGES;
ALTER USER 'root'@'localhost' IDENTIFIED BY 'New-Password';
mysqladmin processlist -u root -pYOURPASSWORDHERE No space between your password and the -p
mysql -u user -ppassword password should not have any space with -p