Remote MySQL connections

I'm having a problem with remote mySQL connections.

Both servers are behind the same firewall, on the same ipblock, not running ipchains/iptables/pf, and not behind any other firewalls.

The first server is running FreeBSD 4.9 with apache, the second is running Gentoo Linux with Vanilla 2.6.7 with mysqld.

I can't get mysqld (on server 2) to accept connections from server 1. I've tried the hosts table to no avail, I've also tried directly specifying the host when setting up mysql users.

Is there some special way to compile mysql to accept remote connections, or something I'm forgetting?

Thanks

 

 

 

 

Top