How to create a relation between two tables using PHPMyAdmin?
+3
A:
This only works if you use InnoDB
as storage engine. Then you have a link Relation view
besides Print view
:
If you click this you get to another site where you can select the relations for all columns that have indecies defined on them (following the pattern table->column
).
Felix Kling
2010-03-31 17:10:25
+1 for a good answer with great screen-shots, and that puts you over 10K.
Adam Bernier
2010-03-31 17:14:47
@Adam Bernier: Thank you very much :)) That was my goal today ;) (besides other things of course)
Felix Kling
2010-03-31 17:19:23