Jump to content

Assigning Foreign Key using PHPMyAdmin?


coder9

Recommended Posts

last i checked, there's no specific button for it - you may need to run the query manually to set a foreign key.  keep in mind i might be wrong, i've never used PMA on a table with the InnoDB engine running (or any other engine that properly supports foreign keys).

Link to comment
Share on other sites

Can you set a foreign key with PHPMyAdmin using the relation view? (View a table in DB -> click "Relation View" under the fields listing -> click the select box in the fields in the "Links To" table).

 

Just guessing here, and the answer is as much for me as the OP.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.