Enable remote connections to mysql

Post Reply
omlineweb
Junior Member
Posts: 1
Joined: 23 Jun 2016, 09:51

Enable remote connections to mysql

Post by omlineweb »

Hi,

How can enable remote connections to mysql database on port 3306

for example for the IP 192.100.172.192

Thanks.
pud
Junior Member
Posts: 2
Joined: 21 Jun 2016, 06:29

Re: Enable remote connections to mysql

Post by pud »

Make sure /etc/mysql/my.cnf bind-address is set to 0.0.0.0 (or your interface IP)
Add tcp|in|d=3306|s=*.*.*.* to /etc/csf/csf.allow (set *.*.*.* to your source IP)
Post Reply