Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Enable 3306 port on MySQL

Discussion in 'Database Discussion' started by fabio berardelli, Jul 7, 2015.

  1. fabio berardelli

    fabio berardelli Registered

    Joined:
    Jul 7, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Milano
    cPanel Access Level:
    Website Owner
    Hello everyone ,
    I need to allow the access to the port 3306 for a specific IP .
    How can I do ?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,888
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    You need to contact your hosting provider for this task. They will update iptables rules with the port 3306 and once this port is enable for your IP then you will have to update your IP in mysql allow host through cPanel >> Remote MySQL >> Add Access Host, so that you can access your databases from your IP.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. LostNerd

    LostNerd Well-Known Member

    Joined:
    Mar 12, 2014
    Messages:
    258
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Hastings, East Sussex, UK
    cPanel Access Level:
    Root Administrator
    Twitter:
    In addition to what 24x7 just said, try it the other way round...

    Before contacting your host, add the IP address to the Access Host list. Try that. If it doesn't work, then you will need to contact your host and ask them to open it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,809
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You can authorize a remote access host via the "Remote MySQL" option under "Databases" in cPanel.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice