错误日志

错误日志

昨天我安装了 MySQL 5.6,服务器运行没有任何问题。

在 Windows 7 上运行

但是今天我无法启动服务器!?

错误日志

2013-04-29 09:59:07 4368 [Note] Plugin 'FEDERATED' is disabled.
2013-04-29 09:59:07 4368 [Note] InnoDB: The InnoDB memory heap is disabled
2013-04-29 09:59:07 4368 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-04-29 09:59:07 4368 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-04-29 09:59:07 4368 [Note] InnoDB: Not using CPU crc32 instructions
2013-04-29 09:59:07 4368 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-04-29 09:59:07 4368 [Note] InnoDB: Completed initialization of buffer pool
2013-04-29 09:59:07 4368 [ERROR] InnoDB: read can't be opened in .\ibdata1 mode
2013-04-29 09:59:07 4368 [ERROR] InnoDB: The system tablespace must be writable!
2013-04-29 09:59:07 4368 [ERROR] Plugin 'InnoDB' init function returned error.
2013-04-29 09:59:07 4368 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2013-04-29 09:59:07 4368 [ERROR] Unknown/unsupported storage engine: InnoDB
2013-04-29 09:59:07 4368 [ERROR] Aborting

2013-04-29 09:59:07 4368 [Note] Binlog end
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'partition'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_METRICS'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_CMPMEM'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_CMP'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_LOCKS'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'INNODB_TRX'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'BLACKHOLE'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'ARCHIVE'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'MRG_MYISAM'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'MyISAM'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'MEMORY'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'CSV'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'sha256_password'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'mysql_old_password'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'mysql_native_password'
2013-04-29 09:59:07 4368 [Note] Shutting down plugin 'binlog'
2013-04-29 09:59:07 4368 [Note] C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe: Shutdown complete

答案1

当 MySQL 在选项ibdata1指定的路径中找不到文件时,它将执行此操作。您应该检查该路径。确保文件在那里,并且可以通过 MySQL 使用的凭据访问。innodb_data_home_dirmy.ini

如果该文件实际上已经消失,因为它代表 innodb 表空间,我实际上不确定该场景是否可以恢复,除非删除所有内容并从备份中恢复。

相关内容