The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Connect to mySQL from any IP

Discussion in 'General Discussion' started by SToledo, Oct 5, 2016.

  1. SToledo

    SToledo Registered

    Joined:
    Oct 5, 2016
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    Hello cPanel friends

    I had a shared hosting with Hostgator during 8 years. I used cPanel and I loved it. Since 2 days i have my own VPS because i need more control of my websites.

    I ordered a license for my server, I Installed WHM and create a cPanel account. After that I create a new domain and a new db.

    I thought it would be easy, but I am having several (litle) problems.

    I need to connect to mySQL from the externals oftware mySQL front but I cant.
    With Hostgator shared hosting was very easy, i write the IP of the server as host, the 3306 port and the cPanel login data, and connect without problems (previously I gave permisions to % in cPanel of course).
    With my actual VPS doesnt work in spite of I gave permisions to ALL in the WHM mySQL Services ...

    Could you help me please?
    Thank you!
     
  2. SToledo

    SToledo Registered

    Joined:
    Oct 5, 2016
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    Ok. The support of cPanel solved my problem:
    Thank you !

    Your server is currently only configured to listen for mysql on locahost (127.0.0.1)
    I have adjusted this to listen on 0.0.0.0 (all ipv4) and it should now be listening properly


     
    cPanelMichael likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page