在mysql Clint 客户端中执行: >set global max_allowed_packet=524288000; //500M >show global variables like 'max_allowed_packet';