Page 1 of 1

mySQL check command

Posted: Mon Mar 20, 2006 7:45 am
by mhouldridge
Hi,

I am trying to check and repair my database. I have tried what is suggest on mysql.com however I keep getting sytax errors.

My database is called stats

I have tried the following;

mysql>mysqlcheck -stats -a;

Please help, I do not know the correct command.

Thanks.

Posted: Mon Mar 20, 2006 9:00 am
by ody

Code: Select all

mysql> repair table <table>;