Reputation: 55
I am trying to establish Foreign Key relationships between a number of tables but cannot find the "Relation view" option. I have ensured my database and the relevant tables are using InnoDB.
I am using a Mac with MAMP and using PHPMyAdmin to manage my database.
I have tried a number of tutorials but have been unsuccessful including: Enabling bookmarks and other advanced features in phpMyAdmin.
Upvotes: 0
Views: 2449
Reputation: 1
It turns out all you need to do is import create_tables.sql
from phpMyAdmin. create_tables.sql
is currently found under /Library/Application Support/appsolute/MAMP PRO/phpMyAdmin/sql
for mamp pro users. For mamp users it's under /Applications/MAMP/bin/phpMyAdmin/sql
. Note that the file location seems to change form versions to versions.
Upvotes: 0
Reputation: 483
Check out this tutorial, I found this helpful and also includes some configuration files which may be of use http://www.lynda.com/phpMyAdmin-tutorials/Setting-up-foreign-key-constraint/144202/157544-4.html
Upvotes: 2
Reputation: 55
Finally resolved this, it appears there are a number of prerequisites that need to be done when using MAMP on the MAC. Including:
Link:http://foundationphp.com/tutorials/pma_config.php
Upvotes: 0