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.

Enable 3306 port on MySQL

Discussion in 'Database Discussions' 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,145
    Likes Received:
    34
    Trophy Points:
    48
    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.
     
  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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

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

    Thank you.
     
Loading...

Share This Page