com.mysql.jdbc.PacketTooBigException

Packet for query is too large (77 > -1). You can change this value on the server by setting the max_allowed_packet' variable.

Solutions on the web57

  • Packet for query is too large (77 > -1). You can change this value on the server by setting the max_allowed_packet' variable.
  • Packet for query is too large (77 > -1). You can change this value on the server by setting the max_allowed_packet' variable.
  • Packet for query is too large (77 > -1). You can change this value on the server by setting the max_allowed_packet' variable.
  • Stack trace

    • com.mysql.jdbc.PacketTooBigException: Packet for query is too large (77 > -1). You can change this value on the server by setting the max_allowed_packet' variable. at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:61) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:53) at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:38) at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:66) at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:35) at $Proxy408.queryById(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.