3

我在 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

我该如何解决这个问题?

4

1 回答 1

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 文件并将字节从更改22439526495420416

梅比这有帮助....

此处提到的更新:更改 InnoDB 日志文件大小

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

于 2012-11-20T09:14:21.400 回答