Skip to main content

Remote MySQL Connection Issue

Comments

7 comments

  • User Avatar
    Eminds
    Go through the below link, it might help you Remote MySQL - Version 76 Documentation - cPanel Documentation
    0
  • User Avatar
    GOT
    You also need to add the IP of the debian server to the remote Mysql Hosts either in the account cpanel where the database is, or in WHM to cover the entire server.
    0
  • User Avatar
    cPanelLauren
    Hi @GodLumeN The suggested provided in here are both great, if you could please go through the steps listed in the documentation provided and let us know if you're still experiencing issues. Thanks!
    0
  • User Avatar
    GodLumeN
    I allready do this step Remote MySQL - Version 76 Documentation - cPanel Documentation and I added the IP on WHM too
    0
  • User Avatar
    GodLumeN
    This is the error: This is the error: ERROR 2003 (HY000): Can't connect to MySQL server on 'xx.xx.xx.xx' (111 "Connection refused")
    0
  • User Avatar
    GodLumeN
    I found the issue, in /etc/my.cnf i had to remove bind-address=127.0.0.1
    0
  • User Avatar
    cPanelLauren
    Hi @GodLumeN I'm really glad to hear you were able to identify the cause of the issue! Thanks for letting us know.
    0

Please sign in to leave a comment.