com.mysql.jdbc.PacketTooBigException java

前端 未结 2 1255
后悔当初
后悔当初 2020-12-12 01:45

I\'m having this problem when trying to connect to my database. Change the value of the variable but still this error persists

Value mysql

@@max_allo         


        
2条回答
  •  萌比男神i
    2020-12-12 02:12

    The jdbc client, also has a "maxAllowedPacket" setting.

    You may set your jdbc url like: jdbc:mysql://192.168.15.1/dbname?useUnicode=true&characterEncoding=UTF-8&maxAllowedPacket=16777216

提交回复
热议问题