14.07.2016, 14:59
If you are trying to connect your server through your host, ask them for the MySQL host IP if localhost is not working. If they say localhost is okay then make sure your mysql username, password, and database name is correct.