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调整相应大小即可。
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调整相应大小即可。
相关文章推荐
- MySql [Err] 1197 - Multi-statement transaction required more than 'max_binlog_cache_size' bytes 解决方法
- Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage
- update语句报错 statement transaction required more than 'max_binlog_cache_size' bytes of storage(解决方法)
- MySQL创建索引抛出“required more than 'innodb_online_alter_log_max_size' bytes of modification log”异常的解决方案
- windows MySQL 报“Got a packet bigger than 'max_allowed_packet' bytes”错误,解决过程.
- mysql Got a packet bigger than 'max_allowed_packet' bytes 错误原因及解决方法
- MySql 错误 Err [Imp] 1153 - Got a packet bigger than 'max_allowed_packet' bytes
- MySQL Got a packet bigger than 'max_allowed_packet' bytes错误
- [MySQL]记录一次线上故障处理过程--> has more than 'max_user_connections' active connections
- MySql 错误 Err [Imp] 1153 - Got a packet bigger than 'max_allowed_packet' bytes
- mysql_stmt_prepare failed! error(1461)Can't create more than max_prepared_stmt_count statements (cur
- MYSQL:Transaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT'
- MySql 错误 Err [Imp] 1153 - Got a packet bigger than 'max_allowed_packet' bytes
- MySQL Got a packet bigger than 'max_allowed_packet' bytes错误
- 一个参数引起的 MySQL 从库宕机血案(max_binlog_cache_size)
- mysql参数max_binlog_cache_size
- ERROR 1203 (42000): User ivr already has more than 'max_user_connections' active connections
- 1153 - Got a packet bigger than 'max_allowed_packet' bytes With statement
- Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage
- Jira的 Transaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT'错误的解决