mysql导出表太大的解决方法:
执行以下两条sql命令即可。
show VARIABLES like '%max_allowed_packet%'; //查看max_allowed_packet当前的大小set global max_allowed_packet = 2*1024*1024*100 //将max_allowed_packet调大即可
set global max_allowed_packet = 2*1024*1024*100 //将max_allowed_packet调大即可