MySQL Got a packet bigger than 'max_allowed_packet' bytes Error
페이지 정보
본문
phpMyAdmin 에서 csv 파일을 업로드하여 디비를 인서트 할 때, 아래와 같은 오류가 발생한다.
Got a packet bigger than 'max_allowed_packet' bytes
쿼리문 창에서 아래 쿼리를 날려 보면, 현재의 설정값을 알 수 있다.
show variables where Variable_name='max_allowed_packet';
설정값 변경방법
# vi /etc/my.cnf
[mysqld]
max_allowed_packet=10M
설정 변경후 mysql restart
* 참고
https://lofty87.tistory.com/9
Got a packet bigger than 'max_allowed_packet' bytes
쿼리문 창에서 아래 쿼리를 날려 보면, 현재의 설정값을 알 수 있다.
show variables where Variable_name='max_allowed_packet';
설정값 변경방법
# vi /etc/my.cnf
[mysqld]
max_allowed_packet=10M
설정 변경후 mysql restart
* 참고
https://lofty87.tistory.com/9
추천0
댓글목록
등록된 댓글이 없습니다.