InnoDB: Error: log file /home/mysqldata/ib_logfile0 is of different size
2014-08-07 11:26
489 查看
在你修改my.cnf的innodb_log_file_size参数前,请先停止mysql服务程序的运行(mysql的停止没有出现任何错误),并把/var/lib/mysql目录下的ib_logfile0、ib_logfile1、ib_logfile2等之类的文件移除到一个安全的地方(旧日志文件的保留是为了防止意外的出现),以便Mysql重启后可以将新的ib_logfile0之类日志文件生成到/var/lib/mysql目录下。如果没有什么意外,旧的日志文件可以删除。
相关文章推荐
- mysql 有关“InnoDB Error ib_logfile0 of different size”错误
- InnoDB: Error: auto-extending data file ./ibdata1 is of a different size
- mysql 有关“InnoDB Error ib_logfile0 of different size”错误
- InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
- Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes 的问题
- mysql5.7.12/13在安装新实例时报错:InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero
- InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 640 pages
- Error: data file /data/ibdata/ibdata1 is of a different size
- 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
- Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0
- [ERROR] InnoDB: Data file /data/mysql/3310/data/ibdata1 is of a different size 1536 pages
- InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pa
- mariadb:InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
- InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
- auto-extending data file ./ibdata1 is of a different size auto-extending data file ./ibdata1 is of a different size
- Fixing “InnoDB: Error: log file ./ib_logfile0 is of different size” Error
- InnoDB: Error: log file .\ib_logfile0 is of different size 0 10485760 bytes
- mysqld_safe 启动、usr/local/mysql/data/ib_logfile0 is of different size ...的错误
- InnoDB: Error: log file ./ib_logfile0 is of different size 50331648 bytes