18:31:29 [mysql] Error: MySQL shutdown unexpectedly.
18:31:29 [mysql] This may be due to a blocked port, missing dependencies,
18:31:29 [mysql] improper privileges, a crash, or a shutdown by another method.
18:31:29 [mysql] Press the Logs button to view error logs and check
18:31:29 [mysql] the Windows Event Viewer for more clues
18:31:29 [mysql] If you need more help, copy and post this
18:31:29 [mysql] This may be due to a blocked port, missing dependencies,
18:31:29 [mysql] improper privileges, a crash, or a shutdown by another method.
18:31:29 [mysql] Press the Logs button to view error logs and check
18:31:29 [mysql] the Windows Event Viewer for more clues
18:31:29 [mysql] If you need more help, copy and post this
18:31:29 [mysql] entire log window on the forums
只要删除 xampp/mysql/datda/ibdata1文件,就能正常启动。每次启动都会生成ibdata1文件,ibdata1文件存在就会启动不了,所以每次启动前都要去删除这个文件
如果是windows系统 先确定你的apache是关着的,然后不要选中Svc 到安装目录(如果是免安装的就找解压的文件夹)里在xampp-》apache文件夹里有apache_uninstallservice.bat文件,双击运行。 重启xampp-control.exe就行了
本文介绍了一种常见的MySQL服务无法启动的问题及解决方法。当遇到MySQL意外关闭导致服务无法启动时,可以通过删除xampp/mysql/data/ibdata1文件来解决。文章还提供了针对Windows系统的具体步骤。
1528

被折叠的 条评论
为什么被折叠?



