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
제목 | 날짜 | ||
---|---|---|---|
323 | [하드웨어] 비스타 가젯 사용하기 | 7096 | 2009/03/13 |
322 | [웹로그] 마이노트 제작후기 [1] | 7251 | 2009/03/14 |
321 | [하드웨어] 왜 이리 복잡하고 어려운 걸까. | 7187 | 2009/03/29 |
320 | [웹로그] 파이어폭스로 EBS 로그인하기 [2] | 6427 | 2008/01/12 |
319 | [웹로그] 고해상도 앨범 커버를 가져오자. CoverGuru [1] | 5192 | 2007/12/22 |
318 | [웹로그] SnagIt, Camtasia 무료 배포 | 0 | 2007/12/04 |
317 | [웹로그] flyExplorer v1.80.1735 정식 버전이 나왔습니다. | 8318 | 2007/12/02 |
316 | [웹로그] 카스퍼스키 안티 바이러스 7, 3개월 무료 이용권 (처음 사용자용) | 5923 | 2007/12/01 |
315 | [웹로그] Bonjour Service 다시 한 번 알아보자. | 5499 | 2007/11/29 |
314 | [웹로그] 판도라동영상 OpenAPI 사용후기 [1] | 8203 | 2007/11/29 |
313 | [웹로그] 왜임마 사용하기 #1 [2] | 6004 | 2007/11/27 |
312 | [웹로그] 웹페이지 동영상 주소 알아내기 | 7143 | 2007/11/25 |