MySQL service failed to start: InnoDB:. \ibdata1 can ' t be opened in Read-write mode

Source: Internet
Author: User

Today, doing experiments in that Daoteng MySQL database, later found that the service could not be started, check the log error as follows:


2015-01-07 17:48:54 9136 [ERROR] InnoDB:. \ibdata1 can ' t be opened in Read-write mode
2015-01-07 17:48:54 9136 [ERROR] innodb:the system tablespace must be writable!
2015-01-07 17:48:54 9136 [ERROR] Plugin ' InnoDB ' init function returned ERROR.
2015-01-07 17:48:54 9136 [ERROR] Plugin ' InnoDB ' registration as a STORAGE ENGINE failed.
2015-01-07 17:48:54 9136 [ERROR] unknown/unsupported storage Engine:innodb
2015-01-07 17:48:54 9136 [ERROR] Aborting


Workaround:

1. Open the Task Manager to terminate the MYSQLD process;

2. Open the Data folder of the MySQL installation directory and delete the following 2 files:

Ib_logfile0 and Ib_logfile1

3. Restart MySQL


--------------------------------------

Dylan presents.

MySQL service failed to start: InnoDB:. \ibdata1 can ' t be opened in Read-write mode

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.