在mysql实例开启的状态下模拟了下redo文件损坏的情况,直接清空了redo,重启mysql的实例的时候,遇到了下面的错误
2017-10-16 15:10:17 9177 [ERROR] InnoDB: Log file ./ib_logfile0 size 1024 is not a multiple of innodb_page_size
2017-10-16 15:10:17 9177 [ERROR] Plugin ‘InnoDB’ init function returned error.
2017-10-16 15:10:17 9177 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
2017-10-16 15:10:17 9177 [ERROR] Unknown/unsupported storage engine: InnoDB
到操作系统中删除ib_logfile文件,然后再次重启后正常启动。