I think this issue was reported here, and the solution is explained (quite cryptically) here.
You have to import a script in your database that will enable certain features, among which there the capability to establish relationships between tables.
- First, locate the script stored in phpMyAdmin-installation-dir/sql. It would usually be
create_tables.sql
, though it may be any of the others under the same directory, depending on whether you've migrated from a previous phpMyAdmin version or not. You can read about int in the second link I provided.
- Open phpMyAdmin and click on your database name.
- Choose Import and open the proper script.
- When the import is over, you'll see there is a new batch of tables within your database. The existence of this tables enables a set of features in your database.
Now, if you select any table, you'll be able to select Structure > Relation view on top. Click on it and you'll be able to establish foreing key constraints.
Else, open Designer and you'll be able to use the graphical tool to create constraints and also see the ones you define using the Relation view option.