我最近遇到了我的 win 7 的问题,所以我不得不重新安装....而且我也不得不用 mysql 重新安装 web 服务器
之前我有 mysql 5.1 现在我有 5.5。
我已经从 C:\ProgramData\MySQL\MySQL Server 5.1\data 进行了备份(我的数据库的复制目录)
我现在已经将所有目录复制到 C:\ProgramData\MySQL\MySQL Server 5.5\data
检查结果时,我只看到了 myisqm 表,没有 innodb 表!
SHOW ENGINES 给了我这个
FEDERATED NO Federated MySQL storage engine NULL NULL NULL
MRG_MYISAM YES Collection of identical MyISAM tables NO NO NO
MyISAM YES MyISAM storage engine NO NO NO
BLACKHOLE YES /dev/null storage engine (anything you write to it... NO NO NO
CSV YES CSV storage engine NO NO NO
MEMORY YES Hash based, stored in memory, useful for temporary... NO NO NO
ARCHIVE YES Archive storage engine NO NO NO
InnoDB DEFAULT Supports transactions, row-level locking, and fore... YES YES YES
PERFORMANCE_SCHEMA YES Performance Schema NO NO NO
所以我该怎么做?我检查了相关文件在目录中...... fe
分类广告.frm 分类广告.MYD 分类广告.MYI
好的,我停止了 mysql55 服务,我覆盖了文件: - ibdata1 - ib_logfile0 - ib_logfile1
从我的备份中......但是当我重新启动服务时出现错误:进程意外终止。检查日志时:
120429 9:52:29 [Note] Plugin 'FEDERATED' is disabled.
120429 9:52:29 InnoDB: The InnoDB memory heap is disabled
120429 9:52:29 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120429 9:52:29 InnoDB: Compressed tables use zlib 1.2.3
120429 9:52:29 InnoDB: Initializing buffer pool, size = 59.0M
120429 9:52:29 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file .\ib_logfile0 is of different size 0 130023424 bytes
InnoDB: than specified in the .cnf file 0 31457280 bytes!
120429 9:52:29 [ERROR] Plugin 'InnoDB' init function returned error.
120429 9:52:29 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
120429 9:52:29 [ERROR] Unknown/unsupported storage engine: INNODB
120429 9:52:29 [ERROR] Aborting
120429 9:52:29 [Note] C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld: Shutdown complete