gpt4 book ai didi

php - Xampp 服务器 MySQL 错误? MySQL 数据库的状态 - DEACTIVATED

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

当我开始在本地主机中运行它时,我安装了最新的 XAMPP 服务器,

我还安装了 Drupal 和 MySQL 6.1 ,.

安装 Drupal 后,我可以访问 localhost/drupal,这里整个数据库都保存到 MySQL 6.1。

但是在 XAMPP 的 MySQL 部分中,我遇到了类似的错误

6:33:47 PM  [mysql]     Attempting to start MySQL app...
6:33:47 PM [mysql] Status change detected: running
6:33:48 PM [mysql] Status change detected: stopped
6:33:48 PM [mysql] Error: MySQL shutdown unexpectedly.
6:33:48 PM [mysql] This may be due to a blocked port, missing dependencies,
6:33:48 PM [mysql] improper privileges, a crash, or a shutdown by another method.
6:33:48 PM [mysql] Press the Logs button to view error logs and check
6:33:48 PM [mysql] the Windows Event Viewer for more clues
6:33:48 PM [mysql] If you need more help, copy and post this
6:33:48 PM [mysql] entire log window on the forums

并且在状态下我正在获得此状态。

enter image description here

如何在 xampp 中运行它

最佳答案

尝试删除C:\xampp\mysql\data目录下的ibdata1文件确保先退出 xampp 然后重新启动它。

关于php - Xampp 服务器 MySQL 错误? MySQL 数据库的状态 - DEACTIVATED,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23110541/

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