【XAMPP】MySQL Error: MySQL shutdown unexpectedly 解决
使用XMAPP V3.2.2,第一次启动正常,第二次启动MYSQL失败
17:10:26 [mysql] Error: MySQL shutdown unexpectedly.
17:10:26 [mysql] This may be due to a blocked port, missing dependencies,
17:10:26 [mysql] improper privileges, a crash, or a shutdown by another method.
17:10:26 [mysql] Press the Logs button to view error logs and check
17:10:26 [mysql] the Windows Event Viewer for more clues
17:10:26 [mysql] If you need more help, copy and post this
17:10:26 [mysql] entire log window on the forums
出现这个问题的的原因有很多,所以大家一定需要打开log日志查看,具体的错误原因!!
第一个解决方法
在data文件夹中的err文件里发现[ERROR] Unknown/unsupported storage engine: InnoDB;
在my.ini发现skip-innod已经注释,随后删除了ib_logfile0、ib-logfile1、ib-logfile101、ibdata1
进行以上操作后可正常启动
第二个解决方法
我的是mysql出现该问题,打开以后logs文件后
根据你最后一次运行找到问题的原因:
翻译如下:
[ERROR] Can’t start server: Bind on TCP/IP port. Got error: 10048: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。
[ERROR] Do you already have another mysqld server running on port: 3306 ?
[ERROR] Aborting
解决方案:是因为你本地已近装过一个mysql了导致端口问题,只要将Mysql关掉即可!
步骤如下:
找此电脑—-》右击——》打开管理——-》关闭本地的mysql
解决:ok
网上解决这种问题的有很多,但是这个软件给出这一个信息,大家要根据自己的原因找出自己的解决方案,不能不知道为什么!!
转载请注明:XAMPP中文组官网 » XAMPP MySQL Error: MySQL shutdown unexpectedly 解决方法