gpt4 book ai didi

mysql - WAMP 未变绿

转载 作者:行者123 更新时间:2023-11-29 20:30:52 25 4
gpt4 key购买 nike

我已经在 32 位 Windows 7 上安装了 WAMP。几天来它工作正常,但之后就开始出现问题。

我怀疑问题出在 MySQL 上,因为我已经测试了我的端口 80 并且它工作正常。我无法启动 wampmysqld 服务。它会抛出错误“1067-进程意外终止”。

在WAMP向导中,MySQL服务是绿色的,这表明MySQL服务尚未启动。MySQL 日志显示如下

2016-08-22 13:27:56 6020 [Note] Plugin 'FEDERATED' is disabled.
2016-08-22 13:27:56 6020 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-08-22 13:27:56 6020 [Note] InnoDB: The InnoDB memory heap is disabled
2016-08-22 13:27:56 6020 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-08-22 13:27:56 6020 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-08-22 13:27:56 6020 [Note] InnoDB: Completed initialization of buffer pool
2016-08-22 13:27:56 6020 [Note] InnoDB: Highest supported file format is Barracuda.
2016-08-22 13:27:56 6020 [Note] InnoDB: The log sequence numbers 80291311 and 80291311 in ibdata files do not match the log sequence number 86947014 in the ib_logfiles!
2016-08-22 13:27:56 6020 [Note] InnoDB: Database was not shutdown normally!
2016-08-22 13:27:56 6020 [Note] InnoDB: Starting crash recovery.
2016-08-22 13:27:56 6020 [Note] InnoDB: Reading tablespace information from the .ibd files...
2016-08-22 13:27:56 6020 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace dbzenroc/roc_changeaddress uses space ID: 435 at filepath: .\dbzenroc\roc_changeaddress.ibd. Cannot open tablespace joomla/dtfp2_updates which uses space ID: 435 at filepath: .\joomla\dtfp2_updates.ibd
InnoDB: Error: could not open single-table tablespace file .\joomla\dtfp2_updates.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.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.

立即提供帮助将不胜感激。谢谢。

最佳答案

日志本身给出了三个可能的修复方法!

  1. 检查权限
  2. 删除产生问题的表(如果它没有任何必需的数据)
  3. 尝试在强制崩溃后恢复

无论您尝试执行哪个步骤,都请重新启动服务。

如果这些不起作用,则从 MySQL 复制/导出所需数据并卸载并重新安装。

关于mysql - WAMP 未变绿,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39074460/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com