Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: ravenplPosted on 2005-12-04 at 01:26:37ID: 15414085
1. make sure firewall is allowing connections to mysql port (3306/tcp)
ie: iptables -I INPUT -p tcp --dport 3306 -j ACCEPT #OR
iptables -I INPUT -p tcp -s your.home.static.ip --dport 3306 -j ACCEPT
2. make sure, the mysql is listening on that port (in my.cnf 'port = 3306' under [mysqld] section)
You may verify that with: netstat -ltnp
3. make sure the user You are connecting as, has the priviledge to connect from remote, in mysql
grant all on database.* to login identified by 'password'; # or similar.
flush priviledges;
check with: use mysql; select user,host from user where user='yourusername'; # the host should be % for any remote.