Skip to main content
  1. Posts/

PHPMyAdmin 3.x hides the table indexes

··141 words·1 min·

Users of PHPMyAdmin 3.x may find that the table indexes are automatically hidden at the bottom of the page. I find this to be a huge annoyance since table indexes are tremendously important to the structure of the table.

If you don’t want to downgrade to PHPMyAdmin 2.x, just add the following line to the top of your config.inc.php file:

$cfg['InitialSlidersState'] = 'open';

This will cause the indexes to be displayed when you click Structure for a certain table. By default, they are hidden.

Sidenote: Some of you might be thinking: β€œHey, you’re a DBA, you should know MySQL queries without needing PHPMyAdmin.” You’re right. I do know how to get the job done without PHPMyAdmin, but I enjoy the way PHPMyAdmin allows me to visualize my table structures. Also, it’s a handy way to present data to others very quickly.