Jump to content

Foreign Key Using phpmyadmin


nazmy

Recommended Posts

I'm not sure if it is possible through the GUI, but you should be able to do it with a SQL query. Check http://dev.mysql.com/doc/refman/5.0/en/innodb-foreign-key-constraints.html for information and the syntax.

 

I do know that your database tables need to use InnoDB storage rather than MyISAM (I think it says at the bottom of the table when you look at the structure).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.