发现mysql 的error log中的一段日志

引用
081103 15:05:44  InnoDB: ERROR: the age of the last checkpoint is 9433679,
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太小了,加大之后就好了,步骤如下
关闭mysql
修改my.cnf 将innodb_log_file_size从原来默认的5m改为100m
将mysql/data目录下的ib_logfile0,ib_logfile1这两个文件移走
启动mysql
Tags:
mysql | 评论(0) | 引用(0) | 阅读(123)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
昵称   密码   游客无需密码
网址   电邮   [注册]
               

验证码 请输入左侧的字母,不区分大小写