03.09.2016, 15:59
Hard to tell if you don't give any specific info. Your "correct" credentials might not be correct after all, or the MySQL server is actively denying the connection. Connections from external sources (i.e. not originating from the local network) are nearly always blocked because of security reasons.