I ran into Mysql. 1067 Error Resolution Method _mysql

Source: Internet
Author: User

This morning in the creation of a table Primay key in the process of a power outage, when the computer started again, found that the MySQL service failed to start, using net start hint 1067 error, toss 2 hours can not be resolved, and then only by hand delete data files, log files, Start the service again, and then import the data to complete.

1067 error occurred starting service:

1. Delete the user database files and log files (ib_logfile0,ib_logfile1) under DataDir.

2. Delete InnoDB table Space ibdata1

3. Start MySQL service:

4. Import data:

5. Check Data:

Although this method is simple, it needs to mysqldump the data produced by the source.

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.