PhpMyAdmin only allows access to databases that are allowed for the user you are logged in to. If your MySQL environment is configured as it should be, no one should have access to more accounts than necessary. Most MySQL PHP administrators will work the same way, it just passes the username and password that you pass to MySQL and shows all the databases that the user has permissions on.
source
share