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

I want to reinstall MySQL Server. I cleared register before reinstallation, but when it is configuring it says

 error 1045 Access denied for 'root@localhost'(using password NO)

How I can reinstall it ?

share|improve this question

migrated from May 24 '12 at 0:17

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

It looks like just password issue. – Software Guruji May 23 '12 at 7:59
On what operating system ? With what installation package ? What do you mean by "clear register" ? – Yves Martin May 23 '12 at 8:01
Windows 7. Cleared register with CCleaner. – Denys Medynskyi May 23 '12 at 8:58

Reinstalling the MySQL application will not replace / overwrite your existing databases so the old installation's databases (and root password) are still there. You need to do one of the following:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.