XAMPP Error: MySQL shutdown unexpectedly. 解决方法

11:43:15  [mysql] Error: MySQL shutdown unexpectedly.


active oldest votes
up vote 58 down vote

Hey I just did this and it worked:

  1. exit Xampp server
  2. go to your C:\xampp\mysql\data directory
  3. delete the ibdata1 file
  4. restart xampp server

1、退出XAMPP服务

2、到xampp\mysql\data 文件夹

3、删除ibdata1文件

4、重新启动 XAMPP


发现可以启动MySQL服务了


具体原因不明

你可能感兴趣的:(PHP)