小编Bha*_*aju的帖子

在mysql docker中增加max_allowed_pa​​cket大小

我们正在使用Docker for mysql,我们在运行时遇到以下错误

Packet for query is too large (12884616 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.; nested exception is com.mysql.jdbc.PacketTooBigException: Packet for query is too large (12884616 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.
Run Code Online (Sandbox Code Playgroud)

现在我们需要增加mysql配置的max_allowed_packet大小,任何人都可以帮我解决docker命令增加的问题.max_allowed_packet

mysql linux docker max-allowed-packet

18
推荐指数
3
解决办法
1万
查看次数

标签 统计

docker ×1

linux ×1

max-allowed-packet ×1

mysql ×1