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.

  • 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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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