open mysql to any connection on ubuntu

Posted by ThomasReggi on Server Fault See other posts from Server Fault or by ThomasReggi
Published on 2012-06-27T23:32:18Z Indexed on 2012/06/28 3:18 UTC
Read the original article Hit count: 466

Filed under:
|
|
|
|

I simply want to open up mysql to be accessible from any server ip.

I have already commented out the bind-address in /etc/mysql/my.conf.

I have already setup the user account within mysql.

I have no clue whats stopping me from connecting.

The more challenging I see this being the more I realize how much of a security risk it is, and I get that, I just want to be able to do it temporarily.

I think that the iptables firewall is the last thing that is preventing me from achieving this, but sudo iptables -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT is seemingly doing nothing.

© Server Fault or respective owner

Related posts about linux

Related posts about ubuntu