You get a bonus - 1 coin for daily activity. Now you have 1 coin

MySQL server won't start: Plugin InnoDB registration as a STORAGE ENGINE failed

Practice




in the log at c:ProgramDataMySQLMySQL Server 5.1datacomputer-name.*.err it prints this

[Note] C:Program FilesMySQLMySQL Server 5.1inmysqld: Shutdown complete

[Note] Plugin 'FEDERATED' is disabled.
InnoDB: No valid checkpoint found.
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 to
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/error-creating-innodb.html
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported table type: INNODB
[ERROR] Aborting

Here I'll just lay out the mess of problems: the binlog was enabled for innodb. There was an improper reboot, and either the transactions didn't get written, or the accounting got messed up, or the file got corrupted.

try running this in the console:

mysqld --defaults-file=C:Program Files…my.ini --console

It should print the full error text straight to the console.


The problem can be solved like this:
1). Remove MySQL
2). Remove all MySQL registry entries (except the one that belonged to Apache - that's a dll)
3). Remove the MySQL subfolder in ProgramData
4). Install it again!
thanks, that helped

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Databases - MySql (Maria DB)"

Terms: Databases - MySql (Maria DB)