MySQL5.7逻辑导入MySQL8.0提示Multi-statement transaction required more than ‘max_binlog_cache_size‘ bytes o
需求:将mysql5.7.27数据库导入到8.0.13导入前准备已安装好MySQL8.0.13数据库--1.增大max_binlog_cache_size值重启库[root@localhostys]#grepmax_binlog/data/mysql813/my8.cnfmax_binlog_size=1G#限制单个文件大小,默认大小:1,073,741,824,即1G,太大了max_binlog