How to remove MySQL service from Windows
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.
Related videos on Youtube
Jonathan
Updated on September 17, 2022Comments
-
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 over 13 yearsNeed to be done from a command prompt with administrator priviliges
-
Simon about 11 yearsCan you give some more information about the problems that could be caused. The way it stands this answer is of low quality.
-
mindmischief about 3 yearsIn 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 about 2 yearsStill service is there service list.