每次我安装EasyPHP 13.1VC9它都会工作几天,然后在我开启它时随机点我得到这个错误,我无法启动MySQL.我尝试过以管理员身份运行,我尝试过编辑权限.此外,当我通过PHPadmin访问MYSQL时,我收到以下错误:
#2002 - No connection could be made because the target machine actively refused it.
Run Code Online (Sandbox Code Playgroud)
这是日志文件所说的:
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.
Run Code Online (Sandbox Code Playgroud)
小智 15
这是MySQL 5.6.11的一个错误 - EasyPHP网站说升级到MySQL 5.6.12来解决这个问题,但我遇到了同样的问题.
通过一些追踪,我跑过去,这是由于在EasyPHP仍在运行时(通过他们的Facebook页面)关闭/重新启动计算机.
一个工作解决方案似乎如下(来源):
我刚刚遇到这个问题。我可以通过在MySQL的配置文件中添加一行来重新启动MySQL。这是日志文件错误的选项3。我添加innodb_force_recovery = 1到 my.ini 文件中。然后重新启动 MySQL 服务器。如果它工作正常,您必须返回配置文件,删除该行并重新启动。它对我有用,但我在用户访问方面遇到问题。我认为这个错误来自这个版本的 EastPHP,但我找不到修复它的方法。我尝试卸载它并安装 12.1 版本。
希望这有帮助!
| 归档时间: |
|
| 查看次数: |
19113 次 |
| 最近记录: |