How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

Problem Statement

MySQL service is stopped.

Error Message

150206 4:42:12 [ERROR] Plugin 'InnoDB' init function returned error.
150206 4:42:12 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150206 4:42:12 [ERROR] /usr/sbin/mysqld: unknown variable 'local-inline=0'
150206 4:42:12 [ERROR] Aborting

Solution 1 

We fixed this error by modifying /etc/my.cnf file and removing the statement "local-inline=0".

Solution 2

One of the common possible causes of this error is my.cnf file has been modified and saved with incorrect structure.

  1. Login to server via SSH with root access.
  2. Navigate to /var/lib/mysql.
  3. If you see log files like, ib_logfile0 and ib_logfile1, rename or move them to some other folder.
  4. Stop and start the MySQL service.

Any other issue with MySQL? Do not forget to take a look at our other interesting articles on MySQL.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to change MySQL root password from WHM?

In this article, we will describe steps to change the root password of MySQL server from WHM....

Fix :: Unable to login at phpMyadmin after revoking MySQL root user

Problem Statement I am not able to login into phpMyadmin after revoking root user. Solution...

How to increase max_user_connections in Linux VPS?

More often you receive Too many connections error when you attempt to connect MySQL server. This...

How to enable the slow query log in MySQL?

Slow MySQL queries can significantly lower down the performance of your web application and eat...

How to Fix Error Forcing close of thread 310 user: 'root' in MySQL?

Problem Statement MySQL server keeps on shutting down. Error Message C:\Program...