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.

link|improve this question

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 – iUngi Jun 6 '11 at 14:38
feedback

migrated from stackoverflow.com Jun 6 '11 at 14:37

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

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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