我认为我的WampServer被不恰当地关闭了。当我试图启动我的wamp服务器时,图标仍为橙色。 在mysql日志中,我有以下内容:
2016-02-29 10:14:56 3548 [Note] Plugin 'FEDERATED' is disabled.
2016-02-29 10:14:56 3548 [Note] InnoDB: The InnoDB memory heap is disabled
2016-02-29 10:14:56 3548 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-02-29 10:14:56 3548 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-02-29 10:14:56 3548 [Note] InnoDB: Not using CPU crc32 instructions
2016-02-29 10:14:56 3548 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-02-29 10:14:56 3548 [Note] InnoDB: Completed initialization of buffer pool
2016-02-29 10:14:56 3548 [Note] InnoDB: Highest supported file format is Barracuda.
2016-02-29 10:14:56 3548 [Note] InnoDB: The log sequence numbers 9777697745 and 9777697745 in ibdata files do not match the log sequence number 9838673424 in the ib_logfiles!
2016-02-29 10:14:56 3548 [Note] InnoDB: Database was not shutdown normally!
2016-02-29 10:14:56 3548 [Note] InnoDB: Starting crash recovery.
2016-02-29 10:14:56 3548 [Note] InnoDB: Reading tablespace information from the .ibd files...
2016-02-29 10:14:56 135c InnoDB: File operation call: 'read' returned OS error 0.
2016-02-29 10:14:56 135c InnoDB: Cannot continue operation.
我已经尝试了以下内容:
1 - 在my.ini文件中添加行innodb_force_recovery = 1。
2 - 将mysql端口从3306更改为3307
3 - 已经在my.ini
中的innodb_lock_wait_timeout = 50下方添加了一些冲洗内容如何解决这个问题?
答案 0 :(得分:0)
做完所有这些没有用的,幸运的是我已经备份了我的数据文件夹。我刚刚删除了实际数据文件夹n替换它的备份。我重新启动了一切,它正在运行。