title: I'm getting error while uploading file to the database using spring boot
body: <p>&quot;com.mysql.cj.jdbc.exceptions.PacketTooBigException: Packet for query is too large (1,545,476 &gt; 1,048,576). You can change this value on the server by setting the 'max_allowed_packet' variable.&quot;</p>
  <p>I changed &quot;max_allowed_packet= 16MB&quot; but still I'm getting an error I mentioned in the upper line.</p>