MySQL Got a packet bigger than 'max_allowed_packet' bytes Error > 개발

본문 바로가기

사이트 내 전체검색

뒤로가기 개발

MySQL Got a packet bigger than 'max_allowed_packet' bytes Error

페이지 정보

작성자 관리자 (61.♡.26.87) 작성일 20-02-06 18:04 조회 2,308 댓글 0

본문

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

추천0

댓글목록 0

등록된 댓글이 없습니다.

전체 386건 7 페이지
게시물 검색
Copyright © Baragi.Net All rights reserved.
PC 버전으로 보기