每次「MySQL的意外結束」我安裝的EasyPHP 13.1VC9它工作了幾天,然後在任意點,當我去打開它,我得到這個錯誤,我無法啓動MySQL。我嘗試以管理員身份運行,並嘗試編輯權限。此外,當我經過PHPadmin訪問MYSQL我得到以下錯誤:的EasyPHP-DevServer 13.1
#2002 - No connection could be made because the target machine actively refused it.
這是日誌文件說:
2013-06-12 23:47:18 4148 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace mysql/innodb_index_stats uses space ID: 2 at filepath: .\mysql\innodb_index_stats.ibd. Cannot open tablespace userauth/userinfo which uses space ID: 2 at filepath: .\userauth\userinfo.ibd
InnoDB: Error: could not open single-table tablespace file .\userauth\userinfo.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
我找不到安裝12.1的源碼,介意給我一個鏈接? –
@thetao:鏈接 http://sourceforge.net/projects/quickeasyphp/files/EasyPHP/12.1.0/EasyPHP-12.1_with_PHP-5.4.6-setup.exe/download – cipher
謝謝!與上面的答案相比,這是一個更快的解決方案。 –