mySQL check command

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
mhouldridge
Forum Contributor
Posts: 267
Joined: Wed Jan 26, 2005 5:13 am

mySQL check command

Post 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.
ody
Forum Contributor
Posts: 147
Joined: Sat Mar 27, 2004 4:42 am
Location: ManchesterUK

Post by ody »

Code: Select all

mysql> repair table <table>;
Post Reply