Got a packet bigger than 'max_allowed_packet' bytes 오류
마스터욱
0
28
0
0
2020-01-30 01:23:36
MySQL 쿼리가 너무 길면 발생하는 오류이다.
아래처럼 확인후 세팅을 변경하면 된다.
확인
show variables where Variable_name='max_allowed_packet';
show variables where Variable_name='net_buffer_length';
세팅
set global max_allowed_packet=1073741824;
set global net_buffer_length=1048576;