RSS

Monthly Archives: January 2006

MySql table repair

If you have a corrupted MySql database run this command to check all databases for corruption and report back only if there is corrupted tables (excluding session table)

mysqlcheck -s –all-databases

to repair all databases

mysqlcheck -r –all-databases

you can find mysqlcheck info at http://www.mysql.com/doc/en/Using_mysqlcheck.html

Advertisements
 
Leave a comment

Posted by on January 4, 2006 in Linux

 
 
%d bloggers like this: