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

Docker enables multiple port mapping commands

as follows: docker run -d -p 5000:23 -p 5001:22 -...

Using react-beautiful-dnd to implement drag and drop between lists

Table of contents Why choose react-beautiful-dnd ...

This article will show you what Vite does to the browser's request

Table of contents Working principle: What does th...

Detailed tutorial on distributed operation of jmeter in docker environment

1. Build the basic image of jmeter The Dockerfile...

How to enable TLS and CA authentication in Docker

Table of contents 1. Generate a certificate 2. En...

How to install openssh from source code in centos 7

Environment: CentOS 7.1.1503 Minimum Installation...

The most detailed method to install docker on CentOS 8

Install Docker on CentOS 8 Official documentation...

Two tools for splitting the screen in the Linux command line terminal

Here are two terminal split screen tools: screen ...

Three networking methods and principles of VMware virtual machines (summary)

1. Brigde——Bridge: VMnet0 is used by default 1. P...

Vue.js handles Icon icons through components

Icon icon processing solution The goal of this re...

Detailed explanation of linux nslookup command usage

[Who is nslookup?] 】 The nslookup command is a ve...

Detailed tutorial on MySql installation and uninstallation

This article shares the tutorial of MySql install...

Vue implements the browser-side code scanning function

background Not long ago, I made a function about ...