gpt4 book ai didi

mysql - Windows Server 2008 R2 上的 MySQL 5.5 错误 1067

转载 作者:可可西里 更新时间:2023-11-01 08:35:38 26 4
gpt4 key购买 nike

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

我该如何解决这个问题?

最佳答案

这是错误:

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

也许这有帮助....

更新正如这里提到的:Change InnoDB Log File Size

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

关于mysql - Windows Server 2008 R2 上的 MySQL 5.5 错误 1067,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13469721/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com