How to remove MySQL service from Windows

158,115

Solution 1

You must run the command "sc delete MySQL" where "MySQL" is the name of the service

Solution 2

control panel -> administrative tools -> services

Find mysql service, stop it, and set startup type to disabled.

However if you would uninstall mysql correctly it should have removed this service it self. So probably some bug creped out from somewhere.

PS this is not a development related question, it would be more appropriate to ask it superuser.com

Solution 3

Before you uninstall MySQL you should always run the "MySQL Server Instance Config Wizard" first. It will give you the option to repair or remove the service.

Choose remove and then unistall MySQL...

Solution 4

mysqld-max-nt.exe -remove or mysqld-nt.exe -remove one of these commands works to remove the service on all Windows operating systems.

Solution 5

If at all the above are not working for you, try the installer again and opt for "Remove Instance" in the configuration set up.

Share:
158,115

Related videos on Youtube

Jonathan
Author by

Jonathan

Updated on September 17, 2022

Comments

  • Jonathan
    Jonathan almost 2 years

    I've removed all MySQL programs from my Win7 64bit desktop and I still have the MySQL service.
    How can I remove it?

    MySQL programs I removed:

    • MySQL Community Server 5.1
    • MySQL Community Server 5.5
    • Workbench 5.2
    • ODBC 5.1

    yes, I've restarted the computer twice. yes, I checked program files and the programs are gone

  • Jonathan
    Jonathan over 13 years
    Need to be done from a command prompt with administrator priviliges
  • Simon
    Simon about 11 years
    Can you give some more information about the problems that could be caused. The way it stands this answer is of low quality.
  • mindmischief
    mindmischief about 3 years
    In case you don't know where this is or how to run it, it's in your MySQL installation's bin directory and usually called MySQLInstanceConfig. EG: C:\Program Files\MySQL\MySQL Server 5.x\bin
  • Admin
    Admin about 2 years
    Still service is there service list.