MySql运行SQL文件报错:1153 - Got a packet bigger than 'max_allowed_packet' bytes

运行SQL文件报错:1153 - Got a packet bigger than ‘max_allowed_packet’ bytes

show VARIABLES like ‘%max_allowed_packet%’;

set global max_allowed_packet = n
5.7 默认值4194304 暂时修改为100倍