1) Must be able to connect to the machine with current network/internet connection
2) MySQL must be running
3) Correct User/Password for the database
4) Correct Host permissions for the local webserver
5) just enter in either the hostname or ip address of the MySQL server.