天天看点

InnoDB: ERROR: the age of the last checkpoint is

160719 13:43:04  InnoDB: ERROR: the age of the last checkpoint is 9448350,

InnoDB: which exceeds the log group capacity 9433498.

InnoDB: If you are using big BLOB or TEXT rows, you must set the

InnoDB: combined size of log files at least 10 times bigger than the

InnoDB: largest such row.

由于 innodb_log_file_size 默认是5M, 不够用引起的.

增大innodb_log_file_size的方法:  service mysqld stop 删除或转移ib_logfile0和ib_logfile1, rm -f /var/lib/mysql/ib_logfile* 编辑my.cnf , 增加 innodb_log_file_size=256M 启动mysql, service mysqld start

继续阅读