How to completely delete the MySQL service (clean the registry)

How to completely delete the MySQL service (clean the registry)

Preface

When installing the executable file of a certain project, it prompted me to uninstall MySQL so that it could install MySQL itself. Then I disabled the MYSQL service. After deleting this folder, I found that it still prompted me to uninstall the MYSQL service.

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

To disable a service:

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

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

After searching online, the following conclusions are drawn:

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

2. However, the MYSQL service only shows a disabled status and is not actually cleaned up.

3. Delete related registry information

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

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

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

Just delete the entire MySQL folder

4. The MySQL service has been 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 cleaning of the MySQL service before).

6. References

1.//www.jb51.net/article/52806.htm

Summarize

The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM.

You may also be interested in:
  • Detailed explanation of MySQL database binlog cleanup command
  • How to quickly clean up billions of data in MySQL database
  • Code for automatically backing up and cleaning up MySQL database using batch processing
  • Summary of methods for cleaning Mysql general_log
  • How to clean up Alibaba Cloud MySQL space
  • Two ways to correctly clean up mysql binlog logs
  • How to automatically clean up MySQL binlog logs
  • Shell script automatically backs up MySQL to FTP and regularly cleans up expired backups
  • Analyze the causes and cleanup of fragmentation in MySQL tables
  • PHP data is cleaned before storage. Note that the value range of PHP intval is different from that of MySQL int.
  • How to clean up data in MySQL online database

<<:  Summary of two methods to implement vue printing function

>>:  Tutorial on installing VMWare15.5 under Linux

Recommend

Using Nginx to implement grayscale release

Grayscale release refers to a release method that...

5 Easy Ways to Free Up Space on Ubuntu

Preface Most people will probably perform this op...

MySQL deep paging (how to quickly paginate tens of millions of data)

Table of contents Preface Case optimization summa...

A detailed introduction to HTML page loading and parsing process

The order in which the browser loads and renders H...

Explanation of Dockerfile instructions and basic structure

Using Dockerfile allows users to create custom im...

Deep understanding of line-height and vertical-align

Several concepts Line box: A box that wraps an in...

Convert psd cut image to div+css format

PSD to div css web page cutting example Step 1: F...

Detailed explanation of the steps to build a Vue project with Vue-cli

First you need to install Vue-cli: npm install -g...

What is BFC? How to clear floats using CSS pseudo elements

BFC Concept: The block formatting context is an i...

CSS modular solution

There are probably as many modular solutions for ...

The qualities and abilities a web designer should have

Web design is an emerging marginal industry that c...

jQuery+swiper component realizes the timeline sliding year tab switching effect

Result: Implementation code: Need to be used with...

A brief discussion on how Tomcat breaks the parent delegation mechanism

Table of contents JVM Class Loader Tomcat class l...