-
incorrect key file for table: 'tablename'. Try to repair itFull-Stack/Back-end 2008. 1. 29. 00:25incorrect key file for table: 'tablename'. Try to repair it
해당 테이블이 손상되었다는 뜻이다.
1.
repair 해주고.
2.
myisamchk table_name // /usr/local/mysql/bin ....
myisamchk --extend-check table_name
myisamchk --recover --quick table_name
myisamchk --recover table_name
myisamchk --safe-recover table_name
들을 순서대로 해보면서 매번 체크해 보고...
3,
그래도 안되면
해당 테이블을 pc로 백업 받은후 서버에서 해당 테이블을 지우고,
다시 업로드(복구)해 버리면 된다.
3.번을 제일 먼저해도 된다.댓글