mariadb:InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
2016-08-24 10:40
429 查看
mariadb 启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0
起因:线上正在运行的系统,因为需要调整性能,变更了my.cnf参数的innodb_log_file_size大小,重启MySQL时err日志输出如下
InnoDB: Error: log file ./ib_logfile0 is of different size 0 xxxx bytes
停掉mariadb
解决办法:移除原有ib_logfile
#mv ib_logfile0 ib_logfile0.bak
#mv ib_logfile1 ib_logfile1.bak
rm -rf ib_logfile*
起因:线上正在运行的系统,因为需要调整性能,变更了my.cnf参数的innodb_log_file_size大小,重启MySQL时err日志输出如下
InnoDB: Error: log file ./ib_logfile0 is of different size 0 xxxx bytes
停掉mariadb
解决办法:移除原有ib_logfile
#mv ib_logfile0 ib_logfile0.bak
#mv ib_logfile1 ib_logfile1.bak
rm -rf ib_logfile*
相关文章推荐
- InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
- Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes 的问题
- Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes 的问题
- InnoDB: Error: log file ./ib_logfile0 is of different size 50331648 bytes
- InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
- InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
- Fixing “InnoDB: Error: log file ./ib_logfile0 is of different size” Error
- Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0
- xtrabackup 恢复出现错误InnoDB: Error: log file ./ib_logfile2 is of different size 0 0 bytes
- Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0
- InnoDB: Error: log file /home/mysqldata/ib_logfile0 is of different size
- mysql 有关“InnoDB Error ib_logfile0 of different size”错误
- mysql 有关“InnoDB Error ib_logfile0 of different size”错误
- mysqld_safe 启动、usr/local/mysql/data/ib_logfile0 is of different size ...的错误
- [ERROR] InnoDB: Data file /data/mysql/3310/data/ibdata1 is of a different size 1536 pages
- mysql 有关“InnoDB Error ib_logfile0 of different
- InnoDB: Error: auto-extending data file ./ibdata1 is of a different size
- xtrabackup备份mysql“ib_logfile0 is of different”错误分析
- MySQL创建索引抛出“required more than 'innodb_online_alter_log_max_size' bytes of modification log”异常的解决方案
- dede后台Fatal error: Allowed memory size of 8388608 bytes exhausted问题的解决方