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
제목 | 날짜 | ||
---|---|---|---|
191 | [데스크탑/액세서리] 아토 설정팁 브라우저에서 Alt+Left로 뒤로가기가 안된다면? | 9246 | 2009/02/08 |
190 | [네트워크] JazzMultiPC 마우스 하나로 컴퓨터 두 대를 | 11694 | 2009/01/28 |
189 | [미디어/녹음·재생] 오디오트랙 프로디지 7.1 LT 윈도우 내부재생음 녹음하기 | 9984 | 2009/01/23 |
188 | [기타] 영남대학교 자유게시판 RSS | 11539 | 2009/01/21 |
187 | [워드프로세서] 똑같은 문서를 그 아래 복사한 뒤 계속 문서 작업하는 방법 | 9030 | 2009/01/18 |
186 | [X61] 녹음하기 | 8934 | 2009/01/14 |
185 | [사이트관리] www 로 접속하면 떼고 접속하기 [1] | 11461 | 2009/01/13 |
184 | [윈도우] 게시자가 차단되어서 사용자의 | 12594 | 2009/01/13 |
183 | [미디어/녹음·재생] 프로디지 녹음하기 | 9550 | 2009/01/11 |
182 | [윈도우] 내 컴퓨터 드라이버 설치하기 | 11682 | 2009/01/11 |
181 | [윈도우] 노트북 사용자의 필수 프로그램 | 12800 | 2009/01/11 |
180 | [윈도우] 윈도우 설치 후 필수 프로그램(ver.3) | 14282 | 2009/01/11 |