Home >Database >Mysql Tutorial >How to clear mysql from system services

How to clear mysql from system services

coldplay.xixi
coldplay.xixiOriginal
2020-10-19 11:44:133045browse

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.

How to clear mysql from system services

##More related free learning recommendations: mysql tutorial(Video)

How to clear mysql from the system service:

1. Enter "CMD" in the running window

How to clear mysql from system services

2,

Delete service: sc delete mysql //Mysql here is the name of the service you want to delete

Enter the following command in CMD.

net stop mysql  //停止服务
mysqld-nt -remove //删除

Under win2k:

First, stop the service. Remove the system service items:

mysqld-max-nt --remove

Delete directory.

How to clear mysql from system services

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 deletion

ControlSet001 and ControlSet002 in the registry are not necessarily 001 and 002 , it may be ControlSet005, 006, etc. When deleting, just delete them all

Check whether there is a my.ini file in the C:\WINDOWS directory and delete it.

How to clear mysql from system services

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more