gpt4 book ai didi

mysql - 错误: MySQL shutdown unexpectedly

转载 作者:行者123 更新时间:2023-11-29 13:12:22 24 4
gpt4 key购买 nike

在 XAMPP 控制面板中启动 mysql 时出现以下错误

14:35:23  [mysql]   Error: MySQL shutdown unexpectedly.
14:35:23 [mysql] This may be due to a blocked port, missing dependencies,
14:35:23 [mysql] improper privileges, a crash, or a shutdown by another method.
14:35:23 [mysql] Press the Logs button to view error logs and check
14:35:23 [mysql] the Windows Event Viewer for more clues
14:35:23 [mysql] If you need more help, copy and post this
14:35:23 [mysql] entire log window on the forums

我一直遇到mysql无法启动的问题,所以我重新安装了XAMPP。 MYsql 然后工作了,但今天再次启动时出现上述错误。我在谷歌上搜索找到了解决方案,我还删除了以下目录 C:\xampp2\mysql\data 中的文件 ibdata1 但 Mysql 可能没有启动。我查看了日志文件,收到以下错误

2014-02-20 14:35:16 6528 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

此外,这一切都是在我使用 grails 和 hibernate 配置 Mysql 之后开始的,所以我在想这可能是我无法在 Xampp 中启动 MySQL 的问题吗?

最佳答案

您可能会花很长时间试图找出问题所在 - 在顶部安装可能会产生与它解决的问题一样多的问题。

我建议您进行全新安装,因为您无需担心数据。

  1. 卸载 XAMPP
  2. 删除/移动目录 C:\xampp2\
  3. 重新启动
  4. 安装 XAMPP

测试

关于mysql - 错误: MySQL shutdown unexpectedly,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21911187/

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