我们正在使用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