Windows Server 2008 R2上的MySQL 5.5错误1067

时间:2012-11-20 09:05:17

标签: mysql innodb windows-server-2008-r2 logfile mysql-error-1067

我在2个月之前在Windows Server 2008 R2上安装了MySQL Server 5.5,并且它一直在工作。但突然MySQL服务出现故障,我无法重启服务。 错误消息:

121120 14:33:31 [Note] Plugin 'FEDERATED' is disabled.
121120 14:33:31 InnoDB: The InnoDB memory heap is disabled
121120 14:33:31 InnoDB: Mutexes and rw_locks use Windows interlocked functions
121120 14:33:31 InnoDB: Compressed tables use zlib 1.2.3
121120 14:33:31 InnoDB: Initializing buffer pool, size = 2.0G
121120 14:33:31 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 0 95420416 bytes
InnoDB: than specified in the .cnf file 0 224395264 bytes!
121120 14:33:31 [ERROR] Plugin 'InnoDB' init function returned error.
121120 14:33:31 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
121120 14:33:31 [ERROR] Unknown/unsupported storage engine: INNODB
121120 14:33:31 [ERROR] Aborting

121120 14:33:31 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Shutdown complete

如何解决此问题?

1 个答案:

答案 0 :(得分:2)

这是错误:

InnoDB: Error: log file .\ib_logfile0 is of different size 0 95420416 bytes
InnoDB: than specified in the .cnf file 0 224395264 bytes!

您可以做的是搜索该.cnf文件并将字节从224395264更改为95420416

Mayby帮助......

<强>更新 像这里的mentiod:Change InnoDB Log File Size

当服务器没有运行时,你能否删除日志文件(。\ ib_logfile0),然后问题不再存在......