黑心胡萝卜 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的默认端口

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

报告相同问题?

悬赏问题

  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏