Error updating database. Cause: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (211497311 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.

MySQL命令
# 设置表存储的最大值
show VARIABLES like '%max_allowed_packet%';
set global max_allowed_packet = 1073741824;

被折叠的 条评论
为什么被折叠?



