当前位置: 首页 > 知识库问答 >
问题:

MySQL不在XAMPP上启动

汪正卿
2023-03-14

我不能让MySQL通过XAMPP启动,几个月前我上次打开它时还好;

在完成我的.cnf恢复后更新的错误:

2013-10-06 19:29:23 7920 [Note] Plugin 'FEDERATED' is disabled.
2013-10-06 19:29:23 15fc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2013-10-06 19:29:23 7920 [Note] InnoDB: The InnoDB memory heap is disabled
2013-10-06 19:29:23 7920 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-10-06 19:29:23 7920 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-10-06 19:29:23 7920 [Note] InnoDB: Not using CPU crc32 instructions
2013-10-06 19:29:23 7920 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2013-10-06 19:29:23 7920 [Note] InnoDB: Completed initialization of buffer pool
2013-10-06 19:29:23 7920 [Note] InnoDB: Highest supported file format is Barracuda.
2013-10-06 19:29:23 7920 [Note] InnoDB: The log sequence numbers 0 and 0 in ibdata files do not match the log sequence number 198755718 in the ib_logfiles!
2013-10-06 19:29:23 7920 [Note] InnoDB: Database was not shutdown normally!
2013-10-06 19:29:23 7920 [Note] InnoDB: Starting crash recovery.
2013-10-06 19:29:23 7920 [Note] InnoDB: Reading tablespace information from the .ibd files...
2013-10-06 19:29:23 7920 [ERROR] InnoDB: Attempted to open a previously opened tablespace. Previous tablespace bitnami_wordpress/wp_usermeta uses space ID: 2 at filepath: .\bitnami_wordpress\wp_usermeta.ibd. Cannot open tablespace mysql/innodb_index_stats which uses space ID: 2 at filepath: .\mysql\innodb_index_stats.ibd
InnoDB: Error: could not open single-table tablespace file .\mysql\innodb_index_stats.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个答案

壤驷俊逸
2023-03-14

我通过删除~/x-ampp/mysql/data中的所有ib_logfiles来解决这个问题

 类似资料:
  • 这就是我在控制面板中看到的:mysql(xampp)问题 这是mysql_error.log:mysql_error.log

  • 我的MySQL不会启动,它显示如下: 然后是错误日志: 这些错误的原因是什么?我如何纠正它们?

  • 我在Windows 7上安装了Xampp。当我尝试启动Xampp时,我收到以下消息,MySql没有启动。 如何解决这个问题? 任何帮助都将不胜感激

  • 我的XAMPP服务器有问题。我可以毫无问题地启动Apache、FileZilla和其他所有东西,但当我尝试启动MySQL时,它只是说 尝试启动MySQL服务... 它永远都是这样,就像被冻了一样。 有什么好办法吗?

  • 我刚开始在我的电脑上安装Xampp和MySQL。然后当我想从xampp控制面板启动MySQL时,它不起作用。 控制面板中的消息说“正在尝试启动MySQL服务…”,但状态不会变为绿色(我启动了Apache,它可以工作) 我曾尝试重新安装MySQL和Xampp,但没有成功。谷歌搜索也没有多大帮助。 我已经检查过MySQL服务正在3306端口上运行。有时当我试图从Xampp控制面板启动MySQL时,它说