Packet for query is too large (4628444 > 1048576)

Olá pessoal!

Estou tentando migrar SQLite para MySql e ao fazer um teste incluido informações no BD, o log do NetBeans me dá o seguinte erro:

Exception in thread “main” com.mysql.jdbc.PacketTooBigException: Packet for query is too large (4628444 > 1048576). You can change this value on the server by setting the max_allowed_packet’ variable.

O que pode está acontecendo?

Dá uma olhada nestes links da documentação no MySQL:

https://dev.mysql.com/doc/refman/5.7/en/packet-too-large.html
https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-configuration-properties.html