Quote:
|
Originally Posted by tombell
Do you mean how to show the foreign keys defined for a table?
If so
Code:
SHOW CREATE TABLE tablename;
|
Yes, but I need to drop all constraints of a database.
I thought I could do a script in PHP that loops the tables and foreach table, deletes its foreign keys.
Is there any easier way?
Or is there any way to toogle from InnoDB to MyISAM?