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

How to completely uninstall mysql under windows

王林
Release: 2020-06-03 10:17:19
Original
7106 people have browsed it

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是你要删除的服务名
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template