웹

Got error 127 from table handler 에러 처리

· 2011-12-01 (목) 11:14:23 · 3121
간혹가다가 잘 돌아가던 서버 페이지가 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;를 실행하면 복원이 됩니다.
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
12-01-11 조회 2,723
12-01-11 조회 1.2만
12-01-10 조회 2,811
12-01-08 조회 3,417
12-01-05 조회 5,290
11-12-29 조회 2,999
11-12-27 조회 2,795
11-12-25 조회 2,972
11-12-22 조회 3,389
11-12-14 조회 2,865
11-12-12 조회 3,484
11-11-28 조회 3,347
10-10-19 조회 2,807
08-09-05 조회 3,722
08-09-05 조회 3,541
08-06-14 조회 3,294
08-04-22 조회 3,555
08-04-17 조회 3,573
07-10-03 조회 4,180
07-10-03 조회 3,587
07-10-03 조회 7,271
07-10-03 조회 4,542
07-10-03 조회 3,228
07-10-03 조회 2,822
07-10-02 조회 3,540
07-10-02 조회 3,075
07-09-27 조회 4,981
07-09-27 조회 3,807
06-09-26 조회 3,491
06-09-26 조회 4,710
06-09-22 조회 3,879
06-09-22 조회 3,489
06-09-22 조회 4,224
06-09-21 조회 4,176
06-08-18 조회 3,658
05-11-30 조회 4,719
05-07-15 조회 4,566
05-03-23 조회 4,631
05-03-14 조회 3,281
05-03-13 조회 2,663
04-08-05 조회 5,745