1
我有這個問題在Xaamp上打開mysql服務器InnoDB:無法打開或創建系統表空間
錯誤:MySQL意外關閉。 這可能是由於端口被阻止,缺少依賴關係, 不正確的權限,崩潰或其他方法的關閉。 按日誌按鈕來查看錯誤日誌和檢查 Windows事件查看器的更多線索 如果您需要更多的幫助,複製並在論壇上發佈此 整個日誌窗口 和錯誤日誌
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
2015年4月6日19時28分56秒3576 [錯誤] InnoDB:空間頭頁由數據文件中的零字節組成:C:\ xampp \ mysql \ data \ ibdata1:文件是否仍然存在?如果沒有:系統上是否有病毒掃描器處於活動狀態?這可能已經隔離了文件.... –
你的Ibdata1文件在哪裏?你是否嘗試改變數據庫的路徑?你是否刪除數據庫中的數據? – BK435
首先謝謝respond.i的確意外刪除了Ibdata1!我應該怎麼做BK435?和norbert van Nobelen –