1) 수정할파일경로 : /etc/my.cnf
2) max_allowed_packet 부분을 찾아서 1M로 되어있었는데, 10M 로 변경하고,
3) mysql을 종료한다.
killall mysqld
4) mysql을 시작한다
/etc/init.d/mysqld start
가비아에서 서버호스팅을 받으시는 고객분께서 XpressEngine(이하 'XE')로 운영하는 사이트에서
짧은 글은 괜찮은데 긴 글을 올릴 경우 'Got a packet bigger than 'max_allowed_packet' bytes'라는 메시지가 경고창으로 뜬다는
문제를 말씀하셨다.
찾아보니,
http://lofty87.tistory.com/9
http://blackbull.tistory.com/12
http://stackoverflow.com/questions/93128/mysql-error-1153-got-a-packet-bigger-than-max-allowed-packet-bytes
이렇게 해결하면 되는 것이었다.
가비아에서 호스팅받는 서버의 종류가 CentOS/아파치였는데, 내가 사용하는 service mysql status 와 같은 명령어가 실행되지 않았다.
가비아에서는 /etc/init.d 디렉토리 아래에 실행 파일들이 위치해있다.
mysql 상태확인, 종료, 실행, 재실행
/etc/init.d/mysqld status
/etc/init.d/mysqld stop
/etc/init.d/mysqld start
/etc/init.d/mysqld restart
참조
http://allnewson.blogspot.kr/2011/05/mysql.html
http://ra2kstar.tistory.com/110
http://link2me.tistory.com/427
https://blog.lael.be/post/1721
http://www.webmadang.net/community/community.do?action=read&boardid=5001&page=1&seq=14
http://zetawiki.com/wiki/%EC%95%84%ED%8C%8C%EC%B9%98_%EC%9B%B9%EC%84%9C%EB%B2%84
#mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost'
#mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket
http://stackoverflow.com/questions/11990708/error-cant-connect-to-local-mysql-server-through-socket-var-run-mysqld-mysq
# Repair
http://stackoverflow.com/questions/4582832/repair-all-tables-in-one-go
https://dev.mysql.com/doc/refman/5.7/en/mysqlcheck.html
http://nota.tistory.com/74
제목 | 날짜 | ||
---|---|---|---|
107 | [기본] 구글 애드센스 컨설팅 - 하데스님의 블로그 구글 애드센스 최적화 가이드 편 | 5805 | 2007/11/13 |
106 | [기본] 블로거뉴스단에 가입하라. | 4 | 2007/11/13 |
105 | [브라우저] 파이어폭스 추천 확장기능 [2] [1] | 18573 | 2007/11/12 |
104 | [기본] MP3 무제한 다운로드 송사리 | 6407 | 2007/11/12 |
103 | [기본] 입력폼과 이미지폼의 정렬은 어떻게 맞추나요? | 5542 | 2007/11/09 |
102 | [기본] 쥬크온 1분 제한 제거 패치 | 4 | 2007/11/09 |
101 | [기본] 윈도를 빠르게 끄자. | 5149 | 2007/11/08 |
100 | [기본] 내 티스토리에 인기글 목록을 달아보자 | 5211 | 2007/11/08 |
99 | [기본] 각 블로그 포스팅에 대한 조회수를 설정해보자. | 5159 | 2007/11/08 |
98 | [기본] 오픈아이디, 내 도메인으로도 활용 가능할까? | 5131 | 2007/11/07 |
97 | [기본] Quick Search? | 4724 | 2007/11/06 |
96 | [기본] 구글 애드센스 주의할 점 [3] | 5806 | 2007/11/05 |