我正在尝试通过WAMP启动mysql(“启动所有服务”),但任务栏中的WAMP图标仍为橙色,并且mysql仍然未启动。我检查了错误日志,这是我发现的:
131220 17:13:01 [Note] Plugin 'FEDERATED' is disabled.
131220 17:13:01 InnoDB: The InnoDB memory heap is disabled
131220 17:13:01 InnoDB: Mutexes and rw_locks use Windows interlocked functions
131220 17:13:01 InnoDB: Compressed tables use zlib 1.2.3
131220 17:13:01 InnoDB: Initializing buffer pool, size = 128.0M
131220 17:13:01 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 0 50331648 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
131220 17:13:01 [ERROR] Plugin 'InnoDB' init function returned error.
131220 17:13:01 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
131220 17:13:01 [ERROR] Unknown/unsupported storage engine: InnoDB
131220 17:13:01 [ERROR] Aborting
131220 17:13:01 [Note] wampmysqld: Shutdown complete
有谁知道如何解决这个问题?看到错误日志后,我认为innodb没有打开所以我在my.ini中设置了innodb = on,但这也没有用。
如果有帮助:WAMP之前工作正常,但昨天我手动关闭了mysql,如
mysqladmin -u root -p shutdown
现在WAMP不起作用了。也许这与我遇到的问题有关?