Skip to main content

Error connecting to remote MySQL

Comments

6 comments

  • es2alna
    Can you telnet the remote server via port 3306? telnet IP 3306
    0
  • GoWilkes
    I just tried and... no, it timed out: # telnet 123.45.67.89 3306 Trying 123.45.67.89... telnet: connect to address 123.45.67.89: Connection timed out
    What does that mean?
    0
  • es2alna
    That means there's something preventing you from connecting to the remote server. Suggestions are: [LIST]
  • The remote server blacklisted or denied the IP of the local server.
  • The remote server is denying connecting to port 3306.
  • The local server can't make remote connections to port 3306 (port blocked).
  • The local server blacklisted or denied the IP of the remote server. Re-check all those 4 suggestions and I'm sure you will find the issue in one of them. Thanks,
  • 0
  • GoWilkes
    I found it; it turns out that I needed to whitelist the main server in the firewall of the remote server. I confused that the remote server's firewall was preventing it from making an outgoing connection, but... it was. Go figure. Thanks for the help!
    0
  • es2alna
    Really glad that the issue has been solved. Thanks for the letting us know. Greetings,
    0
  • cPanelMichael
    Hello :) I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.