Date: Sun, 15 May 2005 16:17:01 -0400 From: Eric Cheney <cheney@soc.umass.edu> To: "albi@scii.nl" <albi@scii.nl> Cc: freebsd-questions@freebsd.org Subject: Re: can't connect to mysql Message-ID: <20050515201701.GA20902@sociostat.org> In-Reply-To: <20050515215301.352fa111.albi@scii.nl> References: <20050515193710.GA20262@sociostat.org> <20050515215301.352fa111.albi@scii.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 15 May 2005 at 21:53:01 +0200, albi@scii.nl wrote: > On Sun, 15 May 2005 15:37:11 -0400 > Eric Cheney <cheney@soc.umass.edu> wrote: > > > Here's the error I get.... > > > > ****begin error message****** > > > > max# mysql -u root -p > > Enter password: > > ERROR 2002: Can't connect to local MySQL server through socket > > '/tmp/mysql.sock' (2) > ---- cut ---- > > So then I did this, as root .... > > > > max# /usr/local/etc/rc.d/mysql-server.sh start > > you have to specifically enable it in /etc/rc.conf : > > mysql_enable="YES" > > it's documented in /usr/local/etc/rc.d/mysql-server.sh Thank you; that did it! My apologies for not reading the documentation---but I didn't know that's where I'd find the answer. And thanks for the quick response....I think I waited all of 10 minutes! I have to say FreeBSD is just terrific. I used FreeBSD for about nine months about 2 or 3 years ago. I loved it then, but had to move to another unix-like OS for reasons that had nothing to do with FreeBSD. I put 5.4 on a machine Friday night and it has just been a terrific experience. I'm amazed about how "current" the software is, and yet it seems to be a very stable release. And now I get help from the list in about 10 minutes! People really should feel proud about FreeBSD. Great work! Many thanks to all.... -- <Eric Cheney> cheney@soc.umass.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050515201701.GA20902>