remote connection to mysql

Mike Silbersack silby at silby.com
Mon Feb 21 02:28:27 PST 2005


On Mon, 21 Feb 2005, Matt wrote:

> Hi,
>
> I'm trying to connect remotely to my database server.  It is MySQL 4.1.7 
> which I install from ports.  I created a user with permissions to connect 
> from any remote location.  I'm using Perl DBI, like this:

Are you sure that you set up MySQL to accept TCP connections?  I think 
it defaults to local sockets only; you can verify by running netstat -na 
and seeing if there's anything listening on port 3306.

Mike "Silby" Silbersack


More information about the freebsd-hackers mailing list