ec2 LAMP REDhat distro change mysql password error
Posted
by
t q
on Server Fault
See other posts from Server Fault
or by t q
Published on 2012-04-04T20:34:19Z
Indexed on
2012/04/04
23:31 UTC
Read the original article
Hit count: 224
i am on ec2 plain linux and wish to change my mySQL password
ive tried:
sudo mysqladmin -u root -p '***old***' password '***new****'
then it prompts me to enter password
then i enter ***old***
but i keep getting an error message
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
question: how do i change my current password?
© Server Fault or respective owner