How to completely delete and uninstall MySQL in Windows 10

How to completely delete and uninstall MySQL in Windows 10

Preface

This article introduces a tutorial on how to completely delete and uninstall MySQL under Windows 10 system. It is shared for your reference and learning. Let’s take a look at the detailed introduction below.

Here’s how:

1》Stop the mysql service

Start -> All Applications -> Windows Management Tools -> Services, and stop the MySQL service.

2》Uninstall MySQL server

Control Panel\All Control Panel Items\Programs and Features, uninstall MySQL Server.

3. Delete the MySQL folder in the MySQL installation directory (my installation directory is C:\Program Files (x86)\MySQL)

4》Run the "regedit" file to open the registry.

  • 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 the folder HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL.

If there is no corresponding folder, there is no need to delete it.

5》Delete the "C:\ProgramData\MySQL" folder in the C drive. If you cannot delete it, use 360 ​​to smash it.
The programData file is hidden by default. You can make it visible by setting it to be displayed, or you can directly copy C:\ProgramData to the address bar and press Enter to enter!
Delete the entire MySQL folder. . .

6》Start -> All Apps -> Windows Management Tools -> Services

If MySQL has been uninstalled, but you can check through "Start -> All Apps -> Windows Administrative Tools -> Services" that the MySQL service still remains in the system services. I don't want to change the service name, what should I do?

Just enter a command in CMD to delete the service:

sc delete mysql //Here mysql is the service name you want to delete

This will delete the service.

Then, you can reinstall the MySQL database! ! !

Summarize

The above is the full content of this article. I hope that the content of this article can bring some help to your study or work. If you have any questions, you can leave a message to communicate. Thank you for your support of 123WORDPRESS.COM.

You may also be interested in:
  • Completely uninstall mysql (stop service, uninstall related programs, delete registry
  • Completely delete MySQL steps

<<:  How to configure https for nginx in docker

>>:  Example code for implementing timeline and animation effects using JavaScript (front-end componentization)

Recommend

The HTML 5 draft did not become a formal standard

<br />Yesterday I saw at W3C that the new HT...

Detailed explanation of the text-fill-color property in CSS3

What does text-fill-color mean? Just from the lit...

Tips for Mixing OR and AND in SQL Statements

Today, there is such a requirement. If the logged...

Mysql modify stored procedure related permissions issue

When using MySQL database, you often encounter su...

A brief analysis of whether using iframe to call a page will cache the page

Recently, I have a project that requires using ifr...

W3C Tutorial (5): W3C XML Activities

XML is designed to describe, store, transmit and ...

Detailed explanation of the implementation of shared modules in Angular projects

Table of contents 1. Shared CommonModule 2. Share...

Teach you a trick to achieve text comparison in Linux

Preface In the process of writing code, we will i...

Installing Win10 system on VMware workstation 14 pro

This article introduces how to install the system...

Common properties of frameset (dividing frames and windows)

A frame is a web page screen divided into several ...

Summary of Seven Basic XHTML Coding Rules

1. All tags must have a corresponding end tag Prev...

Should I use UTF-8 or GB2312 encoding when building a website?

Often when we open foreign websites, garbled char...