Home > Database > Mysql Tutorial > body text

How to uninstall the compressed package version of mysql

青灯夜游
Release: 2019-06-01 11:31:46
Original
9118 people have browsed it

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
Copy after login

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 [服务名]
Copy after login

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!