①查询状态 show global variables like ‘max_allowed_packet’; set global max_allowed_packet=268435456; ② my.ini注释掉 #skip-innodb