【发布时间】:2023-03-16 23:46:02
【问题描述】:
在 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 的问题吗?
【问题讨论】:
-
之前是否运行过 - 您需要保留任何数据吗?
-
我之前遇到了同样的错误,然后我重新安装了 XAMPP,它确实工作了一段时间,然后我今天尝试启动 mysql,但它正在关闭。不,因为我没有任何重要数据要保存。