augmentation de max_allowed_packet taille dans mysql docker

Nous utilisons Docker pour mysql, Nous sommes confrontés à l'erreur ci-dessous lors de l'exécution de

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.

maintenant nous avons besoin d'augmenter max_allowed_packet taille dans mysql de configuration, quelqu'un Peut m'aider sur le panneau de commande pour augmenter max_allowed_packet.

OriginalL'auteur Bharath Dasararaju | 2016-09-07