我该如何解决这个错误? mysql意外关闭 [英] how can I fix this error? mysql shutdown unexpectedly

查看:281
本文介绍了我该如何解决这个错误? mysql意外关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

2015-09-08 08:20:13 2064 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2015-09-08 08:20:13 2064 [ERROR] InnoDB: space header page consists of zero bytes in data file C:\xampp\mysql\data\ibdata1
2015-09-08 08:20:13 2064 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2015-09-08 08:20:13 2064 [ERROR] Plugin 'InnoDB' init function returned error.
2015-09-08 08:20:13 2064 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-09-08 08:20:13 2064 [ERROR] Unknown/unsupported storage engine: InnoDB
2015-09-08 08:20:13 2064 [ERROR] Aborting

推荐答案

解决方案:

导航到以下位置并删除ibdata和日志文件

xampp> mysql> data>删除ibdata和日志文件
Solution:
navigate to the below location and delete the ibdata and log files
xampp > mysql >data > delete ibdata and log files


这篇关于我该如何解决这个错误? mysql意外关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆