Looks like it may be configured in that damn config-inc.php again, see if this site helps:
http://www.electrictoolbox.com/hide-databases-phpmyadmin/Edit.
The above method hides even from root but there is a clue.
What I did find out is, if you set any sort of Global privileges to a user then all the databases will be visible to that user because a Global privilege is effective on any database in the list.
You would need to modify the MySQL database permissions to prevent them access to particular databases. Note also that when you do limit the databases a user has access to, phpMyAdmin won't show them in the list of databases.
I had a bit of a play with this but sorry ran out of time before I could get a handle on it - may try again when I have more time to experiment.
I did hide information_schema as I could not see any use for it also test databases.
At this point I couldn't see a way round what you want to do other than a user name database prefix as defined in this:
4.5 Is it possible to let users create their own databases?
Starting with 2.2.5, in the user management page, you can enter a wildcard database name for a user (for example "joe%"), and put the privileges you want. For example, adding SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER would let a user create/manage his/her database(s)."
6.20 In MySQL 4, I see a lot of databases which are not mine, and cannot access them.
Upgrading to MySQL 4 usually gives users those global privileges: CREATE TEMPORARY TABLES, SHOW DATABASES, LOCK TABLES. Those privileges also enable users to see all the database names. See this
bug report.So if your users do not need those privileges, you can remove them and their databases list will shorten.
The above was from the docs:
http://www.phpmyadmin.net/documentation/You may also be able to find a third party MySQL user manager with a GUI and hopefully free.
Search resultsAlternative phpMyAdminAlso some hosting control panels may be of use for what you want to do.
Sorry I could not be more help at this point in time.