1.导出 2.导入 show global variables like 'max_allowed_packet'; set global max_allowed_packet=1024*1024*256;