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

How can I completly remove MySql on Windows7 because when I uninstal and I install agan there asking the old password, so the uninstall is not complet, there are remaining some data.

share|improve this question

migrated from Jun 6 '11 at 14:37

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

What did you use to install mySQL? Which version? – Pekka 웃 Jun 6 '11 at 14:33
Mysql 5.1 version – iUngi Jun 6 '11 at 14:34
Stupid question I know but are you running the uninstaller as Administrator? – Graham Jun 6 '11 at 14:34
There are various ways of installing mySQL on a Windows computer. Please at least point out which one you used. This is not fit for migration yet – Pekka 웃 Jun 6 '11 at 14:36
MySQL Community Server 5.1.57 64bit – OHLÁLÁ Jun 6 '11 at 14:38
up vote 2 down vote accepted

To completely remove MySQL (preferences etc), you need to uninstall it and then remove the corresponding directories.

As you're using 64-Bit Win 7, the directories you should delete are (most likely):

  1. C:\Program Files\MySQL *\
  2. C:\ProgramData\MySQL *\ (ProgramData is a hidden folder)
  3. C:\Users\yourname\AppData\Roaming\MySQL *\ (AppData is also a hidden folder)

When you've done that, you'll be able to reinstall using a completely new password.

All that said, you don't need to do this. You can instead reset the root password.

share|improve this answer

Your Answer


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

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