Open the Database you are trying to connect to using the hosts phpMyAdmin.
In php, myadmin, it will show the server name in the upper left hand corner, see attached screen shot for an example from my server.
make sure this is the host name you are using in the database connection
