我们正在使用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.
现在我们需要在mysqlmax_allowed_packet
配置中增加大小,任何人都可以在 docker 命令上帮助我增加。max_allowed_packet