Server Fault is a question and answer site for system and network administrators. 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

This question already has an answer here:

I cannot login to MySQL

share|improve this question

marked as duplicate by Chris S Mar 20 '13 at 5:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

See the solution here:

http://www.cyberciti.biz/tips/recover-mysql-root-password.html

share|improve this answer

Since this is a question asked a lot, there is of course a section on it in the official MySQL manual: B.5.4.1. How to Reset the Root Password

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.