首页 > 解决方案 > 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_logfileibdata1文件。重启后还是不行。

标签: mysqlphpmyadminxampp

解决方案


推荐阅读