Yesterday, the database on the server suddenly couldn't be opened (I tried a variety of methods), and later I had to reinstall it. But every time I installed it in the last step, I would prompt that the installation was unsuccessful, the database service fails to be started normally and has been uninstalled and installed many times. But this is the result every time. I went to the Internet and found that there were many problems. The solution is as follows:
0. First, shut down the mysql service process.
1. In the control panel, delete mysql first.
2. Delete the mysql directory under drive C: \ Program Files.
3. If you still have a directory set on another disk, you must also delete the. Empty directory.
4. Go to regedit to set the Registry
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Applications/MySQL
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/Eventlog/Applications/MySQL
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Applications/MySQL
If yes, delete all!
(Tip: Use F3 to search for "mysql" cyclically ")
5. If mysql content in the task manager is also deleted
6. Shut down the firewall.
7. reinstall mysql
8. restart the computer if necessary
After these steps, the database was re-installed successfully. Then I encountered another mysql-front problem, prompting that the registration code expired and found a solution after exploration, just put the following registration code (for version 5.1) and run it.
GNBpPFgyOw9Rwt/ozsnjgM7tJNo2
BhaaAThangemMkaz2tQhq3/f7dZ7
Vj29WeGHjuupj/AhYqymjAuokhYi
X1T/fG + q1yR22PdcEP39dxU3ovEo
LLLzwIZlQr9oJYwUf5eG4x5e1bMP
NfIaIl8reszQPHFNbrxBjCVrBEXL
TyBLehxzUpVI672t3LjX8q4ytCRC
Ezcoz1_mac0duljznrebwlcf0rco
N0zW3ojBUxGsplBBZZPrD7/bPhkM
RjtS8Bxym + HeV1TJDTXuiL8QLg =
Author: bluenemo