InnoDB:无法打开或创建系统表空间 [英] InnoDB: Could not open or create the system tablespace

查看:175
本文介绍了InnoDB:无法打开或创建系统表空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Xaamp上打开mysql服务器时遇到此问题

i have this problem opening mysql server on Xaamp

错误:MySQL意外关闭. 这可能是由于端口受阻,缺少依赖项, 特权不当,崩溃或通过其他方法关闭. 按日志"按钮查看错误日志并检查 Windows事件查看器以获取更多线索 如果您需要更多帮助,请复制并发布此内容 论坛上的整个日志窗口 和错误日志

Error: MySQL shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues If you need more help, copy and post this entire log window on the forums and error logs

enter code here

2015-04-06 19:28:56 3576 [Note] Plugin 'FEDERATED' is disabled.
2015-04-06 19:28:56 2334 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2015-04-06 19:28:56 3576 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-04-06 19:28:56 3576 [Note] InnoDB: The InnoDB memory heap is disabled
2015-04-06 19:28:56 3576 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-04-06 19:28:56 3576 [Note] InnoDB: Memory barrier is not used
2015-04-06 19:28:56 3576 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-04-06 19:28:56 3576 [Note] InnoDB: Not using CPU crc32 instructions
2015-04-06 19:28:56 3576 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2015-04-06 19:28:56 3576 [Note] InnoDB: Completed initialization of buffer pool
2015-04-06 19:28:56 3576 [Note] InnoDB: Restoring page 0 of tablespace 0
2015-04-06 19:28:56 3576 [Warning] InnoDB: Doublewrite does not have page_no=0 of space: 0
2015-04-06 19:28:56 3576 [ERROR] InnoDB: space header page consists of zero bytes in data file C:\xampp\mysql\data\ibdata1
2015-04-06 19:28:56 3576 [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-04-06 19:28:56 3576 [ERROR] Plugin 'InnoDB' init function returned error.
2015-04-06 19:28:56 3576 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-04-06 19:28:56 3576 [ERROR] Unknown/unsupported storage engine: InnoDB
2015-04-06 19:28:56 3576 [ERROR] Aborting

2015-04-06 19:28:56 3576 [Note] Binlog end
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'partition'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_METRICS'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_CMPMEM'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_CMP'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_LOCKS'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'INNODB_TRX'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'BLACKHOLE'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'ARCHIVE'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'MRG_MYISAM'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'MyISAM'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'MEMORY'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'CSV'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'sha256_password'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'mysql_old_password'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'mysql_native_password'
2015-04-06 19:28:56 3576 [Note] Shutting down plugin 'binlog'
2015-04-06 19:28:56 3576 [Note] C:\xampp\mysql\bin\mysqld.exe: Shutdown complete

推荐答案

此解决方案对我有用.

  1. 导航到C:\ Xampp \ mysql \ data
  2. 删除所有ib_logfile的
  3. 删除ibdata1文件
  4. 重新启动Xampp服务器

这篇关于InnoDB:无法打开或创建系统表空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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