MySQL Forums
Forum List  »  MyISAM

Re: Table is wrecked
Posted by: Ingo Strüwing
Date: March 14, 2006 11:56AM

Hi,

did you try to REPAIR TABLE? Or even REPAIR TABLE ... USE_FRM?

After this succeeds, a DROP TABLE should be possible. (Funny, I know. Repairing a table just to delete it).

You could also shutdown the database and delete the three files that make the table. This is a safe way to drop a MyISAM table. (Up to now you cannot have foreign keys on a MyISAM table.)

Regards

Ingo Strüwing, Senior Software Developer - Storage Engines
MySQL AB, www.mysql.com

Options: ReplyQuote


Subject
Views
Written By
Posted
2461
March 13, 2006 07:48AM
Re: Table is wrecked
1737
March 14, 2006 11:56AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.