B4J Question [SOLVED] Error uploading image to mySQL database

RAFA BRAVO

Active Member
Licensed User
Longtime User
The following message appears in the B4J log when uploading an image of the mobile phone:
Code:
(PacketTooBigException) com.mysql.jdbc.PacketTooBigException: Packet for query is too large (11781554 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.

where can I find and modify the variable max_allowed_packet' that appears in the log? thanks.

I use the JRDC2 example.
 
The error happens on the server.

You need to modify the MySQL server configuration.
 
Upvote 0
Back
Top