使用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调整相应大小即可。
使用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调整相应大小即可。