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

Solution to the garbled code problem in MySQL 5.x

MySQL is a commonly used open source database sof...

MySQL uses events to complete scheduled tasks

Events can specify the execution of SQL code once...

Solution to the same IP after cloning Ubuntu 18 virtual machine

Preface I recently used a virtual machine to inst...

CSS easily implements fixed-ratio block-level containers

When designing H5 layout, you will usually encoun...

How to change the default character set of MySQL to utf8 on MAC

1. Check the character set of the default install...

How to implement call, apply and bind in native js

1. Implement call step: Set the function as a pro...

How to use docker to deploy spring boot and connect to skywalking

Table of contents 1. Overview 1. Introduction to ...

Example code for realizing charging effect of B station with css+svg

difficulty Two mask creation of svg graphics Firs...

MySQL table type storage engine selection

Table of contents 1. View the storage engine of t...

Detailed explanation of JS memory space

Table of contents Overview 1. Stack and Heap 2. V...

Solve the cross-domain problem of get and post requests of vue $http

Vue $http get and post request cross-domain probl...