2016-02-29 27 views
1

我認爲我的WampServer被不恰當地關閉了。當我嘗試啓動我的wamp服務器時,該圖標仍爲橙色。 在MySQL日誌,我有以下幾點:WAMP 2.4 - 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 - 添加一行innodb_force_recovery = 1 my.ini文件。

2 - 改變從3306 MySQL的端口3307

3 - 已經在my.ini的

加入略低於innodb_lock_wait_timeout = 50平齊的一些事情如何解決這個問題呢?

回答

0

做完所有這些沒有奏效後,幸運的是我已經備份了我的數據文件夾。我剛剛刪除了實際的數據文件夾n,將其替換爲備份文件。我重新啓動了一切,它正在工作。