Mysql perfect solution to completely remove and reinstall

First cmd-> net stop mysql to stop the service

1. Open All Programs control panel to uninstall the mysql

2. Go to the C drive Program Files or Program Files (x86) folder to delete mysql

3. Delete the C drive directory C: \ ProgramData folder in mysql

4. Open the input interface running regedit, first remove:

HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Services \ Eventlog \ Application \ MySQL folder Delete
Delete HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Services \ Eventlog \ Application \ MySQL folder.
Delete HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application \ MySQL folder.

5. The first of the three can only delete the registry information, if reloading is unsuccessful, it is necessary to find all files with mysql edit and delete all

6.last but not least, are the result of failed several times before deleting mysql service. To do: Open cmd command line, enter the command sc delete mysqlto delete mysql service.

7. After the normal steps to install mysql on it, the best equipment mysql5.5 version, will not encounter too many unknown error.

The private channel may need to be installed

Guess you like

Origin blog.csdn.net/weixin_43812609/article/details/95310693