Mysql报错Error Code: 1153 - Got a packet bigger than ‘max_allowed_packet‘ bytes”

Mysql报错Error Code: 1153 - Got a packet bigger than ‘max_allowed_packet‘ bytes”:

解决方案:修改my.ini文件中“max_allowed_packet”的值。

max_allowed_packet='x'M

使用以下语句查询数据库配置

show VARIABLES like%max_allowed_packet%

你可能感兴趣的:(数据库,mysql,数据库)