How to uninstall MySQL cleanly (tested and effective)

How to uninstall MySQL cleanly (tested and effective)

How to uninstall Mysql perfectly? Follow the steps below to execute.

Step 1

Make sure your MySQL service is turned off, otherwise the uninstallation will not be clean.
In My Computer (Computer) - Manage - Services and Applications - Services, find MySQL and turn it off.

insert image description here

Step 2

Uninstall the MySQL software in the control panel.

insert image description here

Step 3

After uninstalling, delete all remaining files in the directory C:Program Files (x86)\MySQL and also delete the mysql folder.
Because my system is 64-bit, the software is installed in the E drive, so I search and delete it according to this path.
E:ProgramData\MySQL

insert image description here

Step 4

Press windows+R to run the "regedit" file and open the registry.
Delete the registry: HKEY_LOCAL_MACHINESYSTEM\ControlSet001\Services\Eventlog\Application\MySQL folder.

insert image description here

Then delete the registry: HKEY_LOCAL_MACHINESYSTEM\ControlSet002\Services\Eventlog\Application\MySQL folder.
If not, you don't need to delete it. I didn't delete mine.

Step 5

Delete all files in C:ProgramData\MySQL on drive C.
If you cannot delete it, just use 360 ​​to crush it. The programData file is hidden by default and can be seen after setting it to be displayed. (If you are not clear here, search Baidu)

insert image description here

Step 6

key! ! ! Delete the folders under C:Documents and SettingsAll UsersApplication DataMySQL, be sure to delete them!

If you can't find it, follow the following method to solve it. There are two situations here:

The default installation is on the C drive.
Follow this path to find and delete:
C:\Users\your user name\AppData\Roaming\MySQL is also hidden.

insert image description here

Change the installation location.
Look for the folder C:Program Files, or manually change the path during installation. It is usually in Program Files or Program Files (x86) by default.
Take me as an example:

insert image description here

It is best to restart the computer and reinstall it!

Summarize

When uninstalling MySQL, follow the above steps to search and delete it step by step. If it is not found, skip it.
Because the installed MySQL database versions are different, the files that need to be selected and configured during installation are also different, and you need to install them according to your own MySQL version.
If you don’t know, you can refer to the corresponding version installation method on the Internet to avoid repeated installation!

If you want to reinstall after uninstalling, you can refer to this tutorial: How do newbies install MySQL? (Professional test and effective)

This is the end of this article on how to uninstall MySQL cleanly (proven effective). For more information on uninstalling MySQL cleanly, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Completely uninstall mysql (stop service, uninstall related programs, delete registry
  • Detailed explanation of completely uninstalling mysql under Linux
  • How to install and uninstall MySQL 5.7.11 on Mac
  • Completely uninstall mysql. Personal test!
  • How to completely uninstall MySQL
  • Tips for completely uninstalling mysql service
  • Installation and uninstallation of MySQL 5.7 decompressed version and summary of common problems
  • Complete steps for uninstalling MySQL database

<<:  Issues installing Python3 and Pip in ubuntu in Docker

>>:  JavaScript to achieve mouse drag effect

Recommend

Storage engine and log description based on MySQL (comprehensive explanation)

1.1 Introduction to storage engines 1.1.1 File sy...

How to use domestic image warehouse for Docker

1. Problem description Due to some reasons, the d...

JavaScript to achieve fireworks effects (object-oriented)

This article shares the specific code for JavaScr...

Complete steps to install boost library under linux

Preface The Boost library is a portable, source-c...

Detailed explanation of MySQL cumulative calculation implementation method

Table of contents Preface Demand Analysis Mysql u...

How to implement Nginx configuration detection service status

1. Check whether the check status module is insta...

How to import txt into mysql in Linux

Preface When I was writing a small project yester...

26 Commonly Forgotten CSS Tips

This is a collection of commonly used but easily ...

Postman automated interface testing practice

Table of contents Background Description Creating...

iframe multi-layer nesting, unlimited nesting, highly adaptive solution

There are three pages A, B, and C. Page A contains...

Detailed explanation of CSS pre-compiled languages ​​and their differences

1. What is As a markup language, CSS has a relati...

Ten Experiences in Web Design in 2008

<br />The Internet is constantly changing, a...