gpt4 book ai didi

MySQL 服务无法在 XAMPP 上启动

转载 作者:行者123 更新时间:2023-11-30 00:27:05 25 4
gpt4 key购买 nike

我安装了 MySQL Server 5.6,但不久之后我必须安装 XAMPP。

当我尝试启动 MySQL 时,它只是卡在...

Attempting to start MySQL app...

日志中的错误如下...

140401 15:05:43 [Note] Plugin 'FEDERATED' is disabled.
140401 15:05:43 InnoDB: The InnoDB memory heap is disabled
140401 15:05:43 InnoDB: Mutexes and rw_locks use Windows interlocked functions
140401 15:05:43 InnoDB: Compressed tables use zlib 1.2.3
140401 15:05:43 InnoDB: Initializing buffer pool, size = 16.0M
140401 15:05:43 InnoDB: Completed initialization of buffer pool
InnoDB: Error: space header page consists of zero bytes in data file C:\xampp\mysql\data\ibdata1
140401 15:05:43 InnoDB: Could not open or create data files.
140401 15:05:43 InnoDB: If you tried to add new data files, and it failed here,
140401 15:05:43 InnoDB: you should now edit innodb_data_file_path in my.cnf back
140401 15:05:43 InnoDB: to what it was, and remove the new ibdata files InnoDB created
140401 15:05:43 InnoDB: in this failed attempt. InnoDB only wrote those files full of
140401 15:05:43 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
140401 15:05:43 InnoDB: remove old data files which contain your precious data!
140401 15:05:43 [ERROR] Plugin 'InnoDB' init function returned error.
140401 15:05:43 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140401 15:05:43 [ERROR] Unknown/unsupported storage engine: InnoDB
140401 15:05:43 [ERROR] Aborting

140401 15:05:43 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete

我尝试在服务中停止MySQL56服务,但仍然不起作用

我也尝试将 my.ini 中的端口更改为 3307,但仍然没有成功

在这些更改之后,我显然已经重新启动了所有内容,但它只是在尝试启动时保持不变

最佳答案

卸载两者并重新安装包含 MySQL 的 XAMPP。很多时候,这些安装将以管理员身份运行,如果它将您视为其他用户,您将无权修改它们。

您还可以尝试右键单击图标启动 XAMPP,然后在卸载/重新安装之前选择“以管理员身份运行”,看看是否可以解决问题。

关于MySQL 服务无法在 XAMPP 上启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22788462/

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