웹

Got error 127 from table handler 에러 처리

· 2011-12-01 (목) 11:14:23 · 3122
간혹가다가 잘 돌아가던 서버 페이지가 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건
+
제목 글쓴이 날짜 조회
16-03-02 조회 3,218
16-01-19 조회 2,500
15-12-23 조회 2,813
15-12-08 조회 3,619
14-10-30 조회 5,668
14-06-06 조회 5,505
12-08-30 조회 3,856
12-08-20 조회 3,779
12-07-15 조회 5,109
12-07-13 조회 3,586
12-07-06 조회 3,796
12-06-27 조회 3,328
12-06-23 조회 3,524
12-05-03 조회 5,145
12-04-20 조회 4,093
12-03-29 조회 4,584
12-03-22 조회 4,665
12-03-22 조회 3,471
12-03-21 조회 3,249
12-03-11 조회 3,681
12-03-06 조회 4,220
12-02-22 조회 4,499
12-02-17 조회 3,300
12-02-17 조회 6,144
12-02-14 조회 6,068
12-02-06 조회 4,220
12-01-18 조회 3,183
12-01-06 조회 3,406
11-12-30 조회 3,873
11-12-30 조회 7,020
11-12-21 조회 3,232
11-12-21 조회 4,205
11-12-16 조회 3,241
11-12-15 조회 3,284
11-12-15 조회 3,386
11-12-15 조회 4,180
11-12-09 조회 3,202
11-12-09 조회 3,276
11-12-07 조회 2,842
11-12-07 조회 3,931
11-12-05 조회 4,382
11-12-02 조회 3,822
11-12-01 조회 2,686
11-12-01 조회 2,734
11-12-01 조회 2,717