看日志 如下 解决方法: 1.备份一份文件 xampp/mysql/data 2.复制xampp/mysql/backup里的所有文件除了ibdata1文件,覆盖掉xampp/mysql/data里的所有文件