【发布时间】:2018-11-02 09:41:23
【问题描述】:
我有这个问题: 我尝试从 xampp 启动 mySql,但我得到了
14:45:16 [mysql] Error: MySQL shutdown unexpectedly.
14:45:16 [mysql] This may be due to a blocked port, missing
dependencies,
14:45:16 [mysql] improper privileges, a crash, or a shutdown by
another method.
14:45:16 [mysql] Press the Logs button to view error logs and check
14:45:16 [mysql] the Windows Event Viewer for more clues
14:45:16 [mysql] If you need more help, copy and post this
14:45:16 [mysql] entire log window on the forums
我一直在寻找答案 4 个小时,但我找不到。有人可以告诉我如何解决这个问题吗?我已经尝试去 /xampp/mysql/data 并删除 ibdata。并且还尝试将端口从 80 更改为 8080
【问题讨论】:
-
MySQL 默认在
3306端口上运行。检查谁在使用该端口。检查stackoverflow.com/a/6136471/2845389 -
如果我尝试这个,我得到这个错误:请求的操作需要提升。
-
FIXED 这是另一个使用 3306 端口的 mysql 进程。一旦我停止它并再次运行 mysql,它就可以工作了