This morning I still had a working instance of MySQL on my Win 7 dev box, as part of a XAMPP installation. Then I decide to try a standalone MySQL; I uninstalled XAMPP, downloaded the MySQL 5.5.17 msi package, and ran it. I have now tried 3 times, the last time after removing all traces of MySQL from my machine, and each time I get the same error.

The installation runs fine, then kicks off the Instance Config Wizard. This runs fine until the "Applying security settings" step, which fails with an "Access denied" error for the root user. It suggests opening 3306 on the firewall, but it has already done this for me.

I have installed MySQL as standalone some time ago without any problem. What could be wrong here?

link|improve this question

61% accept rate
feedback

2 Answers

Have you tried rebooting your windows ?

It seems that your uninstall of previous MySQL left some files behind, most possibly DLL's in the system folder that are loaded into memory and can't be released until you reboot your computer.

If that's the case, a reboot should allow you to install a new version of MySQL, overwriting those DLL's without any problem.

Plan B: Do you have any antivirus software enabled that could be blocking copying of certain files to system folder ?

link|improve this answer
I did try a reboot with no joy. Then I installed XAMPP again and MySQL is purring away happily again. Very strange. – BradyKelly Oct 27 '11 at 16:38
feedback

I agree, it sounds like some XAMPP or MySQL files have been left behind. Just a suggestion but maybe try one of these (http://download.cnet.com/windows/uninstallers/) to completely get rid of the software?

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.