Date: Mon, 21 Feb 2005 09:26:31 -0800 From: Matt <mhersant@comcast.net> Cc: Freebsd-hackers@freebsd.org Subject: Re: remote connection to mysql Message-ID: <421A19C7.5080207@comcast.net> In-Reply-To: <20050221042738.T683@odysseus.silby.com> References: <4219A362.2050800@comcast.net> <20050221042738.T683@odysseus.silby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Silbersack wrote: > > 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 > Thanks for your reply. I do see this in netstat output: tcp4 0 0 192.168.2.23.3306 *.* LISTEN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421A19C7.5080207>