The option Relation View is probably one of the best features available in phpMyadmin. Sometimes you are required to set foreign keys for database tables, but you do not see this Relation View option in PHPMyAdmin. When you don’t have this option enabled in PHPMyAdmin, the first thing you should verify is, your table's storage engine is set to use InnoDB. It’s because only innoDB allows the Relation View, which will help you make the foreign keys. In this article, we’ll describe the steps to change storage engine to innoDB from PHPMyAdmin.
- Login to phpMyAdmin.
- Navigate to database table whose storage engine you wish to change.
- Click on Operations tab, under Table options you would find drop down called Storage Engine.
- Select Innodb storage engine from the Storage Engine drop down and click on Go button.