mysql错误1607 - 抢救孤儿数据库

时间:2015-02-06 17:15:00

标签: mysql windows-8.1 mediawiki bitnami

我使用通过“Bitnami堆栈”在我的Win 8.1机器上提供的mediawiki。我不小心删除了我的整个数据库,但是能够使用取消删除实用程序来解救它。 (我不知道它是否被正确救出,因为一些mysql-bin文件被反删除报告为“差”)但是ib_logfile1似乎没问题。

所以,现在我有这个mysql数据文件夹包含我感兴趣的所有这些数据,但我不知道如何访问它(我甚至不知道它是否得到了适当的救援,因此需要被修复了。

我在我的机器上安装了一个新的mediawiki干净副本(使用Bitnami)。

如果我使用这个新安装的mysql \ data文件夹,mediawikiMySQL服务启动正常。如果我将此文件夹重命名为mysql \ data-Original,然后将我获救的数据文件夹复制到其位置,我就不能再使用startmediawikiMySQL服务了。我收到错误1067,我甚至不知道这意味着什么。

如何让我访问我获救的数据库?

这是.err文件中的错误日志条目:

150205 22:05:59 [Note] Plugin 'FEDERATED' is disabled.
150205 22:05:59 InnoDB: The InnoDB memory heap is disabled
150205 22:05:59 InnoDB: Mutexes and rw_locks use Windows interlocked functions
150205 22:05:59 InnoDB: Compressed tables use zlib 1.2.3
150205 22:05:59 InnoDB: Initializing buffer pool, size = 128.0M
150205 22:05:59 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
150205 22:05:59  InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
150205 22:05:59  InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
150205 22:05:59 InnoDB: Error: all log files must be created at the same time.
150205 22:05:59 InnoDB: All log files must be created also in database creation.
150205 22:05:59 InnoDB: If you want bigger or smaller log files, shut down the
150205 22:05:59 InnoDB: database and make sure there were no errors in shutdown.
150205 22:05:59 InnoDB: Then delete the existing log files. Edit the .cnf file
150205 22:05:59 InnoDB: and start the database again.
150205 22:05:59 [ERROR] Plugin 'InnoDB' init function returned error.
150205 22:05:59 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150205 22:05:59 [ERROR] mysqld.exe: unknown option '-d'
150205 22:05:59 [ERROR] Aborting

150205 22:05:59 [Note] mysqld.exe: Shutdown complete

谢谢, A1

0 个答案:

没有答案