Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I'm new to MySQL and struggling to find a version and workbench which is stable on my 64 bit Windows 7 machine.

I've decided to attempt to completely remove MySQL from my machine and to restart the installation process from scratch.

However, after uninstalling all software linked with MySQL using the conventional control panel uninstaller, I see there are some MySQL windows services still remaining on my machine.

I can't see any obvious method to remove these services and they have since been causing me difficulties when trying to install different versions of MySQL.

Could anyone please advise how I can remove these services?

share|improve this question
    
I have seen services that have been marked for deletion (which most probably the de-installer does) only go away after a reboot. –  a_horse_with_no_name Sep 28 '12 at 7:18

1 Answer 1

up vote 0 down vote accepted

You can run the command sc delete [MySQL] where [MySQL] is the name of the service.

share|improve this answer
    
Isn't SC only available through the Windows Resource Kit? Perhaps you should add a little detail to your answer, such as what SC is and what it does. Something like: SC is the Service Controller utility included with the Windows Resource Kit. SC allows you to install and uninstall Windows Services from the command-line. –  Max Vernon Sep 28 '12 at 4:03
    
@MaxVernon: sc is part of a normal Windows 7 (Professional) installation. –  a_horse_with_no_name Sep 28 '12 at 7:18
    
Thank you very much for your answer. It worked perfectly, just as a note to anyone else you must run the cmd as admin! :) –  Jazibobs Sep 28 '12 at 9:47

Your Answer

 
discard

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.