I am getting a weird error. I have a table animals
, that I am trying to drop. I cannot drop the table because of a foreign key constraint fails. I know that I must drop the foreign keys before I drop the table. The problem is this table has no foreign keys. I have already dropped them. SQLyog reflects that they have been dropped. But I can still find them in the info schema. It as if I drop the key half way or something.
How can I drop this table without dropping the database? I need to rekey this table and I just want to drop it and recreate it.
EDIT: Here is the error message from SQL:
Cannot delete or update a parent row: a foreign key constraint fails