LinuxHelps.com

A blog for Linux Lovers.

Posted by sibu on March 3, 2009

Repairing a mySQL Database/Table…

Repairing MyISAM mySQL Tables/Databases:

cd /var/lib/mysql/DBNAME
#^ Please note that we assume your mySQL data directory is /var/lib/mysql

myisamchk *.MYI

Repairing ISAM mySQL Tables/Databases:

cd /var/lib/mysql/DBNAME

isamchk *.MYI

Add A Comment