xtrabackup 恢复出现错误InnoDB: Error: log file ./ib_logfile2 is of different size 0 0 bytes

来源:互联网 发布:java浅蓝色代码 编辑:程序博客网 时间:2024/06/05 04:32
161104 10:11:54 InnoDB: Initializing buffer pool, size = 22.0G
161104 10:11:55 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile2 is of different size 0 0 bytes
InnoDB: than specified in the .cnf file 0 268435456 bytes!
161104 10:11:55 [ERROR] Plugin 'InnoDB' init function returned error.
161104 10:11:55 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
161104 10:11:55 [ERROR] Unknown/unsupported storage engine: InnoDB
161104 10:11:55 [ERROR] Aborting

161104 10:11:55 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete


解决方式基本方式是不同配置启动导致。在使用xtrabacku 恢复应用日志过程中没有指定使用规范的配置文件。

把ib_logfile文件移动到另外目录备份,重新启动mysql即可

0 0
原创粉丝点击