[Error Message]
MYSQL ERROR : 1194 - Table 'tableName' is marked as crashed and should
be repaired
-> "tableName"는 오류가 생긴 테이블 입니다.
[Command]
mysql> analyze table tableName; // 테이블에 대한 보고서가 작성됩니다.
mysql> repair table tableName; // 테이블이 복원이 됩니다.
* 만약 repair 명령으로 복구가 안되면 isamchk,myisamchk 로 복구 작업을 하면 됩니다.
(MySQL shutdown 후 진행)
mysql 3.0 버젼
# isamchk <옵션> -u<User> -p <Tablename.ISM> or
<*.ISM>
mysql 4.0 버젼
# myisamchk <옵션> -u<User> -p <Tablename.MYI> or
<*.MYI>
위 명령 실행시 해당되는 ISM or MYI 파일의 에러를 체크하여 복구한다 .
<옵션> 설명
-o : 안전하게 복구
-r : 복구
-f : 강제복구
2010.05.29 00:54
MySQL 오류 테이블 복원
조회 수 17267 추천 수 0 댓글 0
Who's l2zeo
I see
no changes, wake up in the
morning and I ask myself Is life
worth living should I blast myself
Things would never be the same.
Things would never be the same.
-
libmysqlclient.so.15: cannot open shared object file: No such file or directory
-
MySQL 튜닝 값을 탐지해주는 유용한 툴
-
Starting MySQL.Manager of pid-file quit without updating fi[실패]
-
../depcomp: line 571: exec: g++: not found
-
MySQL 튜닝 query cache 설정
-
mysql old_password 문제
-
[MySQL 5.1.4] /bin/rm: cannot remove `libtoolT': No such file or directory
-
Mysql - Query Cache
-
Another app is currently holding the yum lock; waiting for it to exit 해결법
-
mysql - copying to tmp table
-
lower_case_table_names=1
-
MySQL의 호스트 블럭킹 & max_connect_errors
-
FULLTEXT 인덱스와 서치
-
mysql 다중 서버 관리
-
MySQL 오류 테이블 복원
-
MYSQL 4.0 --> 5.1 마이그레이션
-
mysql innodb 설정확인
-
MySQL errno 의미 확인
-
latin1 로 저장된 db 를 euckr 또는 utf8로 변환하는 방법
-
[MySQL] OPTIMIZE, TRUNCATE, 테이블복구, DB공간제한