Home  >  Q&A  >  body text

求xampp中mysql启动失败解决方法,在线等(不删除ibdata1 文件)

错误提示:
11:35:17 [mysql] Error: MySQL shutdown unexpectedly.
11:35:17 [mysql] This may be due to a blocked port, missing dependencies,
11:35:17 [mysql] improper privileges, a crash, or a shutdown by another method.
11:35:17 [mysql] Press the Logs button to view error logs and check
11:35:17 [mysql] the Windows Event Viewer for more clues
11:35:17 [mysql] If you need more help, copy and post this
11:35:17 [mysql] entire log window on the forums
自己找的解决方案:
1.找到本地磁盘D:存放xampp的文件夹,点击打开文件夹
2.找到Mysql文件夹,点击打开
3.找到data文件夹,点击打开
4.找到 ibdata1 这个文件,并删除它
但是这样做的话自己的数据表就丢失了,所以想着不删除ibdata1那个文件的话怎么解决这问题呢?温柔一点

PHPzPHPz2677 days ago531

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-04-17 15:46:09

    去找MySQL的日志,看看启动失败的具体原因

    或者根据你提供的这些一条一条的检查,看看那个不符合

    reply
    0
  • Cancelreply