Home >Operation and Maintenance >Windows Operation and Maintenance >How to completely uninstall mysql under windows

How to completely uninstall mysql under windows

王林
王林Original
2020-06-03 10:17:197105browse

How to completely uninstall mysql under windows

1. Stop the MySQL service

Open Run, enter "cmd", click OK, and enter the command "net stop mysql;".

2. Uninstall mysql server

Open the control panel, enter the [Program] option, and uninstall mysql server.

How to completely uninstall mysql under windows

3. Delete the MySQL folder in the MySQL installation directory (the installation directory here is C:\Program Files (x86)\MySQL)

How to completely uninstall mysql under windows

4. Open the Registry Editor

Delete the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL folder

Delete the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002 \Services\Eventlog\Application\MySQL folder

Delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL folder

How to completely uninstall mysql under windows

5. Open Command prompt, delete the mysql service

sc delete mysql //这里的mysql是你要删除的服务名

6. Restart the computer

Recommended tutorial:windows tutorial

The above is the detailed content of How to completely uninstall mysql under windows. 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