mysql - XAMPP中Mysql意外关闭的解决方法是什么
问题描述
2018-08-30 13:49:07 4332 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-08-30 13:49:07 4332 [Note] InnoDB: The InnoDB memory heap is disabled
2018-08-30 13:49:07 4332 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-08-30 13:49:07 4332 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-08-30 13:49:07 4332 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-08-30 13:49:07 4332 [Note] InnoDB: Using generic crc32 instructions
2018-08-30 13:49:07 4332 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-08-30 13:49:07 4332 [Note] InnoDB: Completed initialization of buffer pool
2018-08-30 13:49:07 4332 [Note] InnoDB: Restoring page 0 of tablespace 0
2018-08-30 13:49:07 4332 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2018-08-30 13:49:07 4332 [ERROR] InnoDB: space header page consists of zero bytes in data file C:\xampp\mysql\data\ibdata1
2018-08-30 13:49:07 4332 [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!
2018-08-30 13:49:07 4332 [ERROR] Plugin 'InnoDB' init function returned error.
2018-08-30 13:49:07 4332 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-08-30 13:49:07 4332 [Note] Plugin 'FEEDBACK' is disabled.
2018-08-30 13:49:07 4332 [ERROR] Unknown/unsupported storage engine: InnoDB
2018-08-30 13:49:07 4332 [ERROR] Aborting
我曾试图删除 todelete ib_logfile
和ibdata1
文件。重启后还是不行。
解决方案
推荐阅读
- java - textRecognizer.isOperational() 返回 false
- c++ - 实现流
可以转换为 Stream其中 U 是 T 的基础 - javascript - 如何检索 Observable
从angularfire2中的引用数组? - reactjs - React:在组件中直接改变状态后调用 setState 的性能损失是什么?
- php - 根据年份对 MySQL 数据进行分组
- c# - 找不到 Windows 控制台应用程序的 App.config 文件
- javascript - JavaScript 按钮单击不起作用
- rest - 完成任务 Alfreso Rest API
- php - 如何组织我的 laravel 项目的 github 存储库,以便用户可以轻松安装和运行它?
- ibm-mq - 来自 IBM MQ 的 RPC 错误 1722