Mar 18, 2011

connect to remote mysql

1. if there is a firewall
sudo /sbin/iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 3306 -j ACCEPT

2. in my.cnf, set
bind-address = your IP

No comments:

Post a Comment