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

Mysql slow query optimization method and optimization principle

1. For comparison of date size, the date format p...

Nginx reverse proxy and load balancing practice

Reverse Proxy Reverse proxy refers to receiving t...

Nodejs global variables and global objects knowledge points and usage details

1. Global Object All modules can be called 1) glo...

Vue implements drag progress bar

This article example shares the specific code of ...

Summary of practical experience of HTML knowledge points

1. The table tag is table, tr is row, td is cell, ...

Introduction to the use of common Dockerfile commands

Table of contents 01 CMD 02 ENTRYPOINT 03 WORKDIR...

Best Practices for Sharing React Code

When any project develops to a certain complexity...

A designer complains about Hammer's official website again

Last year, the open letter was a huge hit, even a...

Mysql8.0 uses window functions to solve sorting problems

Introduction to MySQL Window Functions MySQL has ...

How to handle long data when displaying it in html

When displaying long data in HTML, you can cut off...

Teach you how to implement a react from html

What is React React is a simple javascript UI lib...

OpenSSL implements two-way authentication tutorial (with server and client code)

1. Background 1.1 Problems A recent product testi...