Bookmark and Share

MySql: How to repair a crashed table ?


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


0 comments:

About This Site

Ebugg-i help you to learn and discover
new technology,news, reviews, Tutorials,
how to, threat alerts andother security
information. - www.mydigg.in

Archive