Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I reinstalled MySQL by following this guide and after installed it I checked whether the MySQL is ruining by 'service mysql status'. It gives success output. mysql start/running, process 16959

But when i try to check mysqladmin -u root -p status it gives following error even the correct password provided (which is set in the installation process)

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

Please help me to get rid of this error and successfully install MySQL.

share|improve this question

migrated from Jul 25 '13 at 1:42

This question came from our site for professional and enthusiast programmers.

Sounds like everything is fine, but you're not using the right password. – Matt Ball Jul 25 '13 at 0:55
I entered the right password – Chanikag Jul 25 '13 at 3:34


mysql -u username -p

and then enter your password.

If its not working then you need to reset root password

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .