Developer Cafe

You can change this value on the server by setting the max_allowed_packet' variable. 본문

에러잡기

You can change this value on the server by setting the max_allowed_packet' variable.

개발자 카페 2021. 7. 20. 18:18
728x90

 

 

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

 

 

1-1. vi 에디터 열기

vi /etc/my.cnf

 

1-2. max_allowed_packet=16M 수정/추가

[mysqld]
max_allowed_packet=16M

 

728x90
Comments