Completely uninstall MySQL database in Windows system to reinstall MySQL

Completely uninstall MySQL database in Windows system to reinstall MySQL

1. In the control panel, uninstall all components of MySQL

Control Panel -> All Control Panel Items -> Programs and Features, uninstall all programs related to MySQL

2. Find your MySQL installation path and see if there are any folders related to MySQL. Delete them all.

If it is installed on the C drive, check the two folders C:\Program Files (x86) and C:\Program Files

3. Delete the MySQL registry

Enter "C:\Windows\regedit.exe" in the file explorer and the registry will pop up.

Delete the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL folder

If you can find the following content, delete it

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL

4. Paste the following red part into the address bar of the file explorer (this is a hidden folder)

C:\ProgramData\MySQL

Delete all contents in this folder

5. Restart your computer

6. Tips:

If the above steps do not work, try the following steps:

1. Check if there are any MySQL-related programs running, find them in the Task Manager, and then end the task

2. Try 360 file shredding to see if it can be shredded

3. Enter safe mode and delete

You're done!

Now you can reinstall MySQL.

Summarize

The above is the editor's introduction to completely uninstalling the MySQL database in the Windows system and reinstalling MySQL. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!

You may also be interested in:
  • Uninstalling MySQL database under Linux
  • Complete steps for uninstalling MySQL database
  • How to completely uninstall the MySQL database

<<:  Detailed explanation of using Nodejs built-in encryption module to achieve peer-to-peer encryption and decryption

>>:  Windows Server 2019 Install (Graphical Tutorial)

Recommend

How to get the real path of the current script in Linux

1. Get the real path of the current script: #!/bi...

MySQL grouping queries and aggregate functions

Overview I believe we often encounter such scenar...

Detailed example of clearing tablespace fragmentation in MySQL

Detailed example of clearing tablespace fragmenta...

Tips for using DIV container fixed height in IE6 and IE7

There are many differences between IE6 and IE7 in ...

jQuery implements the bouncing ball game

This article shares the specific code of jQuery t...

Super detailed MySQL8.0.22 installation and configuration tutorial

Hello everyone, today we are going to learn about...

MySQL data insertion efficiency comparison

When inserting data, I found that I had never con...

Summary of MySQL stored procedure permission issues

MySQL stored procedures, yes, look like very rare...

Summary of essential knowledge points for MySQL query optimization

Preface Query optimization is not something that ...

Example code for CSS to achieve horizontal lines on both sides of the text

This article introduces the sample code of CSS to...

React entry-level detailed notes

Table of contents 1. Basic understanding of React...

MySQL column to row conversion, method of merging fields (must read)

Data Sheet: Column to row: using max(case when th...

Example analysis of mysql non-primary key self-increment usage

This article uses an example to illustrate the us...