Home >Database >Mysql Tutorial >How to clear mysql from system services
How to clear mysql from the system service: first enter [CMD] in the running window; then enter the code [net stop mysql;mysqld-nt -remove] in the window.
##More related free learning recommendations: mysql tutorial(Video)
How to clear mysql from the system service:
1. Enter "CMD" in the running window 2,Delete service: sc delete mysql //Mysql here is the name of the service you want to delete
net stop mysql //停止服务 mysqld-nt -remove //删除Under win2k:
First, stop the service. Remove the system service items:3. When you uninstall the old MYSQL database service from your computer, first stop the MYSQL service in the WINDOWS service. Go to the Add and Delete program in the control panel to delete it. However, if you cannot completely delete the MYSQL service, you must clear your MYSQL service in the registry. There are several places: 1. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL directory deletion 2. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\ Eventlog\Application\MySQL directory deletion 3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL directory deletionControlSet001 and ControlSet002 in the registry are not necessarily 001 and 002 , it may be ControlSet005, 006, etc. When deleting, just delete them allCheck whether there is a my.ini file in the C:\WINDOWS directory and delete it.mysqld-max-nt --remove
Delete directory.
The above is the detailed content of How to clear mysql from system services. For more information, please follow other related articles on the PHP Chinese website!