최상단

컨텐츠

mysql 복구하기-

글 정보

Category
컴퓨터 이야기
2006. 9. 4. 05:15

본문

저번엔 괜찮더니... 태터툴즈 문제인지..뭔지-_-
서버를 리부팅 하거나.. 갑자기 다운되거나 하면... DB가 맛탱이 간다-_-
아마......테터툴즈 문제가 아닐까 싶다..커넥션을 맺어놓고..계속 개기는듯?-_-;; (난 몰라요-0-);

뭐..여튼;; 내가 개발을 할수는 없고-0-ㅋㅋㅋ
열시미들 하고 계시니../
db가 삑사리 하면..
mysqlcheck라는 명령어를 통해서 복구 가능하다/


root@thedino:/# mysqlcheck
mysqlcheck  Ver 2.4.3 Distrib 4.0.24, for pc-linux-gnu (i486)
By Jani Tolonen, 2001-04-20, MySQL Development Team

This software comes with ABSOLUTELY NO WARRANTY. This is free software,

and you are welcome to modify and redistribute it under the GPL license.

This program can be used to CHECK (-c,-m,-C), REPAIR (-r), ANALYZE (-a)
or OPTIMIZE (-o) tables. Some of the options (like -e or -q) can be
used at the same time. It works on MyISAM and in some cases on BDB tables.
Please consult the MySQL manual for latest information about the
above. The options -c,-r,-a and -o are exclusive to each other, which
means that the last option will be used, if several was specified.

The option -c will be used by default, if none was specified. You
can change the default behavior by making a symbolic link, or
copying this file somewhere with another name, the alternatives are:
mysqlrepair:   The default option will be -r
mysqlanalyze:  The default option will be -a
mysqloptimize: The default option will be -o


Usage: mysqlcheck [OPTIONS] database [tables]
OR     mysqlcheck [OPTIONS] --databases DB1 [DB2 DB3...]
OR     mysqlcheck [OPTIONS] --all-databases



뭐// 도움말은 위와 같으나..............
그냥 간단하게 하나만 기억하자.-_-;;

mysqlcheck -r -A

하면 된다-_-;;;;;;;;;;;;;;;;;;;;;

'컴퓨터 이야기' 카테고리의 다른 글

RPMBUILD로 직접 RPM을 만들어 배포하자~~./  (0) 2006.09.12
친구녀석 졸업 시키기 프로젝트;  (0) 2006.09.11
mysql 삽질-0-  (0) 2006.09.04
정보처리학회 - 추계학술발표대회  (0) 2006.09.04
[AVR] example..  (0) 2006.08.02

트랙백과 댓글 여닫기

TOP