RAFA BRAVO Active Member Licensed User Longtime User Nov 7, 2020 #1 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 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.
Erel B4X founder Staff member Licensed User Longtime User Nov 8, 2020 #2 The error happens on the server. You need to modify the MySQL server configuration. How to change max_allowed_packet size I am having a problem with BLOB fields in my MySQL database - when uploading files larger than approx 1MB I get an error Packets larger than max_allowed_packet are not allowed. Here is what i've t... stackoverflow.com Upvote 0
The error happens on the server. You need to modify the MySQL server configuration. How to change max_allowed_packet size I am having a problem with BLOB fields in my MySQL database - when uploading files larger than approx 1MB I get an error Packets larger than max_allowed_packet are not allowed. Here is what i've t... stackoverflow.com