Skip to main content

Mysql does not allow additional IP connection

Comments

5 comments

  • User Avatar
    cPanelMichael
    Hello, You will need to update or add the "bind-address" entry in your /etc/my.cnf file so it listens to all IP addresses. This is discussed on the following post: Thank you.
    0
  • User Avatar
    joaosavioli
    Hello, Thank you for replying. Yes, I saw this post before post this new thread. I tryed to edit my /etc/my.cnf and add this line, but is does not work. bind-address=0.0.0.0 I can see the 0.0.0.0 in listen IP, when I run: [root@lnx ]# netstat -an | grep 3306 tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN Do you have any ideia? Cheers Joao
    0
  • User Avatar
    cPanelMichael
    Hello, Are you using any firewall management utilities such as CSF? If so, check to verify there are no rules enabled to block remote connections to MySQL. Thank you.
    0
  • User Avatar
    joaosavioli
    Hello Michael, sorry for delay and thank you for replying. Yes, I"m using firewall, but for tests, I"ve disabled in both servers. I can"t connect in mysql server if I use the additional IP in applications in and out of server. I need to use only the main IP address or "localhost". The most strange is, if I try to connect via telnet on port 3306 using additional ip, the server reply with mysql header. Do you know any log that I can see to know what"s happing? Cheers, Joao
    0
  • User Avatar
    cPanelMichael
    Hello, Could you open a support ticket so we can take a closer look? Create Support Ticket - Version 68 Documentation - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.