Home  >  Article  >  Database  >  What should I do if mysql cannot be installed again after uninstalling it?

What should I do if mysql cannot be installed again after uninstalling it?

藏色散人
藏色散人Original
2020-11-03 10:26:516830browse

The solution to the problem that mysql cannot be installed after being uninstalled: first delete it in the Add and Remove Programs in the control panel; then check the registry and delete mysql; then delete the my.ini file in the MySQL folder; Finally install it again.

What should I do if mysql cannot be installed again after uninstalling it?

# Recommended: "

mysql video tutorial

Mysql database cannot be reinstalled after uninstallation

If MySQL has been installed on the computer before, if it is not completely deleted after uninstallation, there will be problems with the next installation. The complete list is given below How to uninstall MySQL 5.5:

1. Delete it in the Add and Remove Programs in the control panel

2. Delete the my.ini file in the MySQL folder (under the installation folder ), if the backup is good, you can directly delete all the folders

3. Start->Run-> regedit and see if these places in the registry have been deleted

HKEY_LOCAL_MACHINE\SYSTEM \ControlSet001\Services\Eventlog\Application\MySQL Directory deletion

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL Directory deletion

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application \MySQL directory deletion (I didn’t find it when I uninstalled it. After skipping it, I still achieved the purpose of complete uninstallation.)

4. This item is very critical.

C:\Documents and Settings\All Users\Application Data\MySQL

There are also MySQL files here, which must be deleted

Note: The Application Data folder is hidden, you need to open the folder and select Tools → File from the menu bar Folder Options → View → Hide files and folders, select Show all files and folders and confirm

You can also use Computer Manager to uninstall, and then manually delete the MySQL files that have not been uninstalled

The following picture You can delete the remaining files in the registry after the software is uninstalled

What should I do if mysql cannot be installed again after uninstalling it?Restart OK! Install it again

If there is anything wrong, please feel free to enlighten me.


The above is the detailed content of What should I do if mysql cannot be installed again after uninstalling it?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn