Mysql reinstallation experience

Source: Internet
Author: User

 

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.