본문 바로가기

RDBMS

Got a packet bigger than 'max_allowed_packet' bytes

Got a packet bigger than 'max_allowed_packet' bytes 이슈 처리 방법

 

 

 

MySQL에 database 백업하는 과정에서 맞딱드린 이슈이다.

 

MySQL에 설정되어 있는 최대 전송 패킷값을 초과하여 발생된 이슈로 해당 dbms에  아래의 명령을 해주면 이슈가 처리되었다.

 

set global max_allowed_packet=1000000000;

set global net_buffer_length=1000000;

 

 

 

 

 

mysql에 해당 설정을 해주었다.