웹

Got error 127 from table handler 에러 처리

· 2011-12-01 (목) 11:14:23 · 3608
간혹가다가 잘 돌아가던 서버 페이지가 DB쪽의 문제로 다음과 같은 오류가 생기곤 합니다.

Got error 127 from table handler


phpadmin-> Operations -> 테이블 분석-> 테이블복구

※ 아래 참고

shell> perror 126 127 132 134 135 136 141 144 145
126 = Index file is crashed / Wrong file format
127 = Record-file is crashed
132 = Old database file
134 = Record was already deleted (or record file crashed)
135 = No more room in record file
136 = No more room in index file
141 = Duplicate unique key or constraint on write or update
144 = Table is crashed and last repair failed
145 = Table was marked as crashed and should be repaired


다음은 위와 같이 손상된 DB 테이블을 복구하는 mysql 명령어 입니다.

DB에서
mysql> repair table product; //"product"는 오류가 생긴 테이블 입니다.
하시기 전에
mysql>analyze table product;를 실행하면 테이블에 대한 보고서가 작성됩니다.
그리고 나서
mysql>repair table product;를 실행하면 복원이 됩니다.
|
댓글을 작성하시려면 로그인이 필요합니다.

개발자팁

5,403건

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
PHP 11-12-07 조회 8,504
PHP 11-12-06 조회 4,036
jQuery 11-12-06 조회 5,716
PHP 11-12-06 조회 2,580
PHP 11-12-05 조회 2,653
JavaScript 11-12-05 조회 2,273
PHP 11-12-05 조회 6,341
기타 11-12-05 조회 6,932
기타 11-12-05 조회 2,666
node.js 11-12-05 조회 4,558
JavaScript 11-12-04 조회 5,527
PHP 11-12-04 조회 2,771
PHP 11-12-03 조회 3,758
JavaScript 11-12-03 조회 2,938
node.js 11-12-02 조회 3,553
jQuery 11-12-02 조회 3,010
PHP 11-12-02 조회 2,552
PHP 11-12-02 조회 3,806
PHP 11-12-02 조회 1,986
jQuery 11-12-01 조회 2,476
node.js 11-12-01 조회 2,247
node.js 11-12-01 조회 2,302
node.js 11-12-01 조회 2,480
PHP 11-12-01 조회 2,247
MySQL 11-12-01 조회 3,609
PHP 11-12-01 조회 3,708
PHP 11-12-01 조회 2,321
JavaScript 11-11-30 조회 2,297
기타 11-11-30 조회 2,877
JavaScript 11-11-30 조회 1,988