摘要:
mysql根据配置文件会限制server接受的数据包大小。有时候大的插入和更新会受max_allowed_packet 参数限制,导致写入或者更新失败。(Packets larger than max_allowed_packet are not allowed.)查看目前配置:show VARIABLES like '%max_allowed_packet%';显示的结果为:+--------------------+---------+| Variable_name | Value |+--------------------+---------+| max_allowed 阅读全文