Home > Database > Mysql Tutorial > body text

How to delete the registry in mysql

(*-*)浩
Release: 2019-05-27 17:49:56
Original
4407 people have browsed it

Due to installing the executable file of a certain project, I was prompted to uninstall MySQL in order to install MySQL itself. Then I disabled the MYSQL service. After deleting the folder, I found that I was still prompted to uninstall the MYSQL service. This is very confusing. Finally, it is found that the registry needs to be deleted before reinstallation can be carried out.

Recommended courses: MySQL Tutorial.

How to delete the registry in mysql

---------------------------------- ----------------------------------

The method of disabling the service is as follows:

Or right-click on My Computer->Manage->Services and manually disable it after entering.

----------------------------------------------- --------------------------

After searching online, the summary is as follows:

1. In cmd, enter sc delete mysql to delete the service.

#2. But the MYSQL service only shows a disabled state and is not really cleaned up.

3. Delete related registry information

Search regedit in the Win7 start menu bar and enter the registry editor (you can also open it by entering this command under cmd) )

Path 1:\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\eventlog\Application\MySQL

Path 1:\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\eventlog\Application\MySQL

Delete the entire MySQL folder

4. The MySQL service is completely cleared and the executable file can be installed. .

5. Summary

This method can solve the problem of failure to reinstall MySQL (caused by incomplete MySQL service before cleaning).

The above is the detailed content of How to delete the registry in 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