ERROR 1016: Can't open file: '테이블이름.MYI'. (errno: 145) 복구하기

해당 디비 폴더로 이동후 아래 명령어 입력

/usr/local/mysql/bin/myisamchk -r 테이블명.*

myisamchk: error: '테이블명.frm' is not a MyISAM-table

---------

myisamchk: error: '테이블명.MYD' is not a MyISAM-table

---------

- recovering (with sort) MyISAM-table '테이블명.MYI'

Data records: 7

- Fixing index 1

- Fixing index 2

- Fixing index 3

- Fixing index 4

- Fixing index 5

- Fixing index 6

이런식으로 나타나며 복구~

mysqlcheck --auto-repair -u root -p 디비명 테이블명
으로 복구 안될때 사용 하시면 됩니다.

warning  : Table is marked as crashed
warning  : 10 clients is using or hasn't closed the table properly
warning  : Size of datafile is: 207385920       Should be: 207385542
error    : record delete-link-chain corrupted
error    : Corrupt

대략 이런 오류 납니다...

2010/01/14 10:03 2010/01/14 10:03

트랙백 주소 :: http://odoacer.kr/trackback/214

댓글을 달아 주세요

[로그인][오픈아이디란?]