본문으로 바로가기

손상된 테이블 복구

category 오류 발생 및 해결 2019. 1. 1. 13:33
반응형

** 에러발생 **


# mysqldump -uroot -p -A > all.sql

Enter password: 

mysqldump: Got error: 144: Table './mobilefree/g5_visit' is marked as crashed and last (automatic?) repair failed when using LOCK TABLES 


>>   덤프작업 시 위와 같이 에러 발생

mobilefree 데이터베이스의 g5_visit 테이블이 꺠짐



** 해결 **


 > use [db];

> analyze table [테이블명];
> repair table [테이블명;
> analyze table [테이블명]




반응형