从备份恢复后MySQL崩溃

时间:2014-09-25 11:16:24

标签: mysql

我已经从我的主机创建的备份中恢复了我的虚拟服务器。 之后我的MySQL服务器不再启动了。

我已经尝试了几种方法来恢复我的表,但它仍然无法正常工作。

这就是error.log所说的内容:

140925 13:06:29 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
140925 13:06:29 [Note] Plugin 'FEDERATED' is disabled.
140925 13:06:29 [Warning] option 'innodb-buffer-pool-size': signed value 2097152 adjusted to     5242880
140925 13:06:29 [Warning] option 'innodb-additional-mem-pool-size': signed value 512000 adjusted to 524288
140925 13:06:29 InnoDB: The InnoDB memory heap is disabled
140925 13:06:29 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140925 13:06:29 InnoDB: Compressed tables use zlib 1.2.3.4
140925 13:06:29 InnoDB: Initializing buffer pool, size = 5.0M
140925 13:06:29 InnoDB: Completed initialization of buffer pool
140925 13:06:29 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
140925 13:06:29  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
140925 13:06:29  InnoDB: Waiting for the background threads to start
140925 13:06:30 InnoDB: Error: tablespace size stored in header is 3200 pages, but
140925 13:06:30 InnoDB: the sum of data file sizes is only 2816 pages
140925 13:06:30 InnoDB: Cannot start InnoDB. The tail of the system tablespace is
140925 13:06:30 InnoDB: missing. Have you edited innodb_data_file_path in my.cnf in an
140925 13:06:30 InnoDB: inappropriate way, removing ibdata files from there?
140925 13:06:30 InnoDB: You can set innodb_force_recovery=1 in my.cnf to force
140925 13:06:30 InnoDB: a startup if you are trying to recover a badly corrupt database.
140925 13:06:30 [ERROR] Plugin 'InnoDB' init function returned error.
140925 13:06:30 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140925 13:06:30 [ERROR] Unknown/unsupported storage engine: InnoDB
140925 13:06:30 [ERROR] Aborting

这是一个带有mysql Ver 14.14 Distrib 5.5.38, for debian-linux-gnu (i686) using readline 6.2

的Ubuntu 12.04服务器

当我尝试innodb_force_recovery = 1:http://pastebin.com/FmNgcBJy

时,这是我的日志

0 个答案:

没有答案