1048576). You can" name="description">

Hi. I am trying to insert an image to mysql db. but I am getting the exception "Exception occurred : com.mysql.jdbc.PacketTooBigException: Packet for query is too large (2291161 > 1048576). You can change this value on the server by setting the maxallowedpacket' variable.". how to resolve it? Thanks in advance.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.