간혹가다가 잘 돌아가던 서버 페이지가 DB쪽의 문제로 다음과 같은 오류가 생기곤 합니다.
Got error 127 from table handler
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;를 실행하면 복원이 됩니다.
게시글 목록
| 번호 | 제목 |
|---|---|
| 12245 |
PHP
php 함수검색기 입니다.
|
| 12244 | |
| 12243 | |
| 12241 | |
| 12239 | |
| 12238 | |
| 12237 |
Mobile
모바일웹에서 현재위치의 좌표 가져오기
|
| 12233 |
JavaScript
alert 창 디자인하기
3
|
| 12232 |
JavaScript
자동완성 자바스크립트
|
| 12230 |
PHP
주소로 구글 좌표 구하기
1
|
| 355 | |
| 12227 | |
| 12226 | |
| 12225 | |
| 353 | |
| 12221 |
PHP
vi 정리 입니다.
3
|
| 12220 | |
| 12219 | |
| 12218 |
PHP
검색사이트 긁어오기 입니다.
|
| 12217 | |
| 12216 | |
| 12215 | |
| 12214 | |
| 12213 | |
| 12212 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기