您的位置:首页 > 产品设计 > UI/UE

Mysql 批量更新操作的时候出错 “Multi-statement transaction required more than 'max_binlog_cache_size' bytes of s

2014-08-19 19:44 981 查看
使用mysql批量更新的时候出现以下错误:

Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again

可以看出这个是mysql的缓存不够,

解决方法如下:

进入 vi /etc/my.cnf

将max_binlog_cache_size调整相应大小即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐