Perhaps the function you are looking for is a “Display Column” in the “Relation View” section of the table structure view. This allows you to choose which column is displayed in the PHPMyAdmin interface, regardless of what is stored in the database foreign key constraint.
If the line does not appear, you need to enable the function in PHPMyAdmin. See Frequently Asked Questions and related configuration parameter entries: $cfg["servers"][$i]["relation"] and $cfg["servers"][$i]["table_info"] (in the previous link during publications (I do not have enough reputation to post more than two links)).
Essentially, you create a pair of tables in a database that PHPMyAdmin can use to store additional data, and then tell it which tables. When this is done, PHPMyAdmin will allow you to choose which columns will be displayed (when you hover over the associated column and when editing data). If you installed it on your Linux distribution through the package manager, it should have already created these tables for you (or at least asked if you would like to), if this is not the case, you may need to reinstall the package. I have no experience installing it on Windows or Mac OS X, but I would suggest that there is some automated way to create these tables for these platforms.
(In Debian and Debian-based distributions (such as Ubuntu), the additional database is configured using db-config-common . If it was not configured during installation, dpkg-reconfigure phpmyadmin will allow you to configure the database (please note that this may result in the loss of some user / system settings in PHPMyAdmin).
source share