Home  >  Article  >  Database  >  How to uninstall the compressed package version of mysql

How to uninstall the compressed package version of mysql

青灯夜游
青灯夜游Original
2019-06-01 11:31:468958browse

MySQL is a small and exquisite but powerful database that is very popular currently. However, the installation package provided by the official website has two formats, one is in msi format and the other is in zip format. So how to uninstall the compressed version of mysql? The following article will introduce it to you. I hope it will be helpful to you.

How to uninstall the compressed package version of mysql

Steps to uninstall the compressed package version of mysql:

1. Close the MySQL service

Run cmd as administrator and execute the following command:

net stop mysql

How to uninstall the compressed package version of mysql

Or right-click my computer and go to Management-Service-Stop MySQL

2. Delete the service

mysqld -remove [服务名]

How to uninstall the compressed package version of mysql

##3. Delete the MySQL file

below Delete the local MySQL file.

4. Delete registry information

Start->Run-> regedit, enter the registry

How to uninstall the compressed package version of mysql

How to uninstall the compressed package version of mysql

Delete the following places in the registry:

①、HEKY_LOCAL_MACHINE\SOFTWARE\MYSQL

②、HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\ Eventlog\Application\MySQL

③、HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL

④、HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL

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

Complete the above four steps to successfully uninstall the MySQL decompressed environment.

Note: If you do not stop the service first and remove the service first, an error will be reported: mysql service is running

The above is the detailed content of How to uninstall the compressed package version of mysql. 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