Repaire corrupted MyISAM tables

| | Comments (0) | TrackBacks (0)

To repare the corrupted MyISAM tables, just cd to the directory that holds the MyISAM datafiles, then run this:

$ myisamchk -r -q table_name

If it doesn't work, try this command,

$ myisamchk --safe-recover table_name

The above two commands can fix most of the problems of MyISAM tables.


Categories

0 TrackBacks

Listed below are links to blogs that reference this entry: Repaire corrupted MyISAM tables.

TrackBack URL for this entry: http://www.yinfor.com/mtcgi/mt-tb-trackback.cgi/2079

Leave a comment

Earn $$ with WidgetBucks!
Earn $$ with Bidvertiser!
DreamHost!
Sponsored Review!

Online Tools

About this Entry

This page contains a single entry by David Yin published on February 17, 2008 9:38 PM.

MySQL Backup and Recovery Methodologies was the previous entry in this blog.

Stop cron emails at Dreamhost is the next entry in this blog.