Plugin InnoDB registration as a storage engine failed solution

Source: Internet
Author: User

This article introduces the Plugin InnoDB registration as a storage engine failed solution. I hope this article will help some friends who encounter such problems.

The Innodb ENGINE was not installed on a database. We added it dynamically today and found that innodb cannot be loaded. The error "Plugin 'innodb' registry as a storage engine failed" is reported, the log file creation failed to be found in the detailed log. The detailed log is as follows:

The Code is as follows: Copy code

InnoDB: If this error appears when you are creating an InnoDB database,
InnoDB: the problem may be that during an earlier attempt you managed
InnoDB: to create the InnoDB data files, but log file creation failed.
InnoDB: If that is the case, please refer
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/error-creating-innodb.html
131017 0:45:52 [ERROR] Plugin 'innodb' init function returned error.
131017 0:45:52 [ERROR] Plugin 'innodb' registry as a storage engine failed.


In fact, innodb was loaded on this server before, but it was removed later, but the logfile file was not deleted, resulting in this problem during the re-loading. The solution is simple.

The Code is as follows: Copy code

Rm-rf ib_logfile *

Load innodb again dynamically. If not, restart mysql.

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.