您的位置:首页技术文章
文章详情页

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

【字号: 日期:2022-06-17 18:35:15浏览:72作者:猪猪

问题描述

错误提示: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 check11:35:17 [mysql] the Windows Event Viewer for more clues11:35:17 [mysql] If you need more help, copy and post this11:35:17 [mysql] entire log window on the forums自己找的解决方案:1.找到本地磁盘D:存放xampp的文件夹,点击打开文件夹2.找到Mysql文件夹,点击打开3.找到data文件夹,点击打开4.找到 ibdata1 这个文件,并删除它但是这样做的话自己的数据表就丢失了,所以想着不删除ibdata1那个文件的话怎么解决这问题呢?温柔一点

问题解答

回答1:

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

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