Iam Toad
0
Q:

change mysql password from command line

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

0
mysql -u user -ppassword
password should not have any space with -p
0

New to Communities?

Join the community