黑心胡萝卜 2020-10-27 22:53 采纳率: 100%
浏览 176
已采纳

xampp的MySQL服务启动不了,apache可以运行,这是错误日志,该怎么启动?

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

  • 写回答

1条回答 默认 最新

  • AlanGrady 2020-10-29 21:03
    关注

    3306端口被占用了,解决办法2种:
    1、点击xamp右侧绿色小地球查看占用3306端口的程序,记下pid,打开任务管理器,找到对应pid的程序右键干掉
    2、修改mysql的默认端口

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效
  • ¥15 悬赏!微信开发者工具报错,求帮改