Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2005 04:28:25 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        Matt <mhersant@comcast.net>
Cc:        Freebsd-hackers@freebsd.org
Subject:   Re: remote connection to mysql
Message-ID:  <20050221042738.T683@odysseus.silby.com>
In-Reply-To: <4219A362.2050800@comcast.net>
References:  <4219A362.2050800@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050221042738.T683>