com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1122 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via mysql.com by Unknown author, 1 year ago
Packet for query is too large (1122 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
via atlassian.com by Unknown author, 2 years ago
Packet for query is too large (22365093 > 16777216). You can change this value on the server by setting the max_allowed_packet' variable.
via nabble.com by Unknown author, 1 year ago
Packet for query is too > large (1054948 > 1048576). You can change this value on the server by > setting the max_allowed_packet' variable.
via Atlassian JIRA by Gliffy ChrisK, 1 year ago
Packet for query is too large (1048592 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
via Atlassian JIRA by Alyson Reis [Atlassian], 1 year ago
Packet for query is too large (22365093 > 16777216). You can change this value on the server by setting the max_allowed_packet' variable.
via atlassian.com by Unknown author, 1 year ago
Packet for query is too large (2271047 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1122 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3592)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2417)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.