MySQL Installation: Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
July 21, 2011
Posted by on
I was trying to install MySQL database on my Windows 7 machine today. The installation was successful, however ‘MySQL’ windows service was not getting started.
When checked the Event Viewer, I noticed the following errors:
- Plugin ‘InnoDB’ init function returned error.
- Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
- Unknown/unsupported storage engine: INNODB
After spending a lot of time trying to figure out the cause for this, finally got some useful information in C:\ProgramData\MySQL\MySQL Server 5.5\data\Sanchit.err file. Based on the information logged in this file, it seemed that the log files at C:\ProgramData\MySQL\MySQL Server 5.5\data\ location had got corrupted. Deleting the following files resolved the problem for me: ib_logfile0, ib_logfile1 and ibdata1.