MySql: How to repair a crashed table ?

| More

September 29, 2009

To repair MySql table just go to shell prompt and execute this command ..


mysqlcheck --auto-repair databasename tablename

For eg: mysqlcheck --auto-repair testdbname testtable

To check the status of a table use "--check" option.

Eg: mysqlcheck --check dbname tablename


Share/Bookmark

0 comments:

About me

I am not a proffessional blogger.

Blog Archive

© 2007-2010 ebugg-i.com