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

2016-10-13 14:16发布

错误提示:
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那个文件的话怎么解决这问题呢?温柔一点

付费偷看设置
发送
2条回答
bbjbbj - 这个人很懒,什么都没留下
1楼 · 2016-10-13 14:39.采纳回答

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

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