更改innodb_log_file_size, 解决InnoDB: ERROR: the ag...的问题_MySQL
程序员文章站
2022-03-14 11:20:12
...
bitsCN.com
更改innodb_log_file_size, 解决InnoDB: ERROR: the ag...的问题 有时侯Mysql会报错: 120418 8:00:14 InnoDB: ERROR: the age of the last checkpoint is 9434204,InnoDB: which exceeds the log group capacity 9433498.InnoDB: If you are using big BLOB or TEXT rows, you must set theInnoDB: combined size of log files at least 10 times bigger than theInnoDB: largest such row 这主要是由于 innodb_log_file_size 默认是5M, 不够用引起的. 增大innodb_log_file_size的方法: 暂停mysql, /etc/init.d/mysql stop转移ib_logfile0和ib_logfile1, mv /usr/local/mysql/var/ib_logfile* ../编辑my.cnf , 增加 innodb_log_file_size=64M启动mysql, /etc/init.d/mysql start 作者 neou bitsCN.com
更改innodb_log_file_size, 解决InnoDB: ERROR: the ag...的问题 有时侯Mysql会报错: 120418 8:00:14 InnoDB: ERROR: the age of the last checkpoint is 9434204,InnoDB: which exceeds the log group capacity 9433498.InnoDB: If you are using big BLOB or TEXT rows, you must set theInnoDB: combined size of log files at least 10 times bigger than theInnoDB: largest such row 这主要是由于 innodb_log_file_size 默认是5M, 不够用引起的. 增大innodb_log_file_size的方法: 暂停mysql, /etc/init.d/mysql stop转移ib_logfile0和ib_logfile1, mv /usr/local/mysql/var/ib_logfile* ../编辑my.cnf , 增加 innodb_log_file_size=64M启动mysql, /etc/init.d/mysql start 作者 neou bitsCN.com
推荐阅读
-
Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes 的问题
-
mysql处理添加外键时提示error 150 问题的解决方法
-
Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes 的问题
-
MYSQL ERROR 1045 (28000): Access denied for user (using password: YES)问题的解决
-
mysql启动时出现ERROR 2003 (HY000)问题的解决方法
-
MYSQL ERROR 1045 (28000): Access denied for user (using password: YES)问题的解决
-
mysql执行sql文件报错Error: Unknown storage engine‘InnoDB’的解决方法
-
mysql启动时出现ERROR 2003 (HY000)问题的解决方法
-
Ubuntu下出现Mysql error(2002)问题的解决方法
-
mysql数据库ERROR#1442报错问题的解决方法