我正在尝试从死机HD恢复MySQL数据库。我已经按照这里关于复制旧文件的指示进行操作:https : //stackoverflow.com/questions/40479395/export-mysql-datatabase-from-a-dead-hard-drive-xampp,但是我得到以下信息错误日志中的错误消息:
170114 22:21:07 [Note] Plugin 'FEDERATED' is disabled.
170114 22:21:07 InnoDB: The InnoDB memory heap is disabled
170114 22:21:07 InnoDB: Mutexes and rw_locks use Windows interlocked functions
170114 22:21:07 InnoDB: Compressed tables use zlib 1.2.3
170114 22:21:07 InnoDB: Initializing buffer pool, size = 38.0M
170114 22:21:07 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 0 56623104 bytes
InnoDB: than specified in the .cnf file 0 19922944 bytes!
170114 22:21:07 [ERROR] Plugin 'InnoDB' init function returned error.
170114 22:21:07 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170114 22:21:07 [ERROR] Unknown/unsupported storage engine: INNODB
170114 22:21:07 [ERROR] Aborting
170114 22:21:07 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld.exe: Shutdown complete
旧数据库为5.5.40,新数据库为5.5.54,因为我无法成功安装完全相同的版本(安装程序不再需要下载链接)。错误是仅仅是.cnf
文件中指定的大小,还是掩盖了其他内容?
查看这篇文章,查看wombles答案以及问题中的解决方案部分:serverfault.com/questions/104014 / ... ...希望这可以解决您的问题。
—
Pimp Juice IT