From owner-freebsd-questions@FreeBSD.ORG Sun May 15 20:19:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1510616A4CE for ; Sun, 15 May 2005 20:19:31 +0000 (GMT) Received: from sociostat.org (echeney.adsl.spfdma.crocker.net [159.250.21.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2F1843D92 for ; Sun, 15 May 2005 20:19:30 +0000 (GMT) (envelope-from eric@sociostat.org) Received: from eric by sociostat.org with local (Exim 3.36 #1 (Debian)) id 1DXPXp-0005UP-00; Sun, 15 May 2005 16:17:01 -0400 Date: Sun, 15 May 2005 16:17:01 -0400 From: Eric Cheney To: "albi@scii.nl" Message-ID: <20050515201701.GA20902@sociostat.org> References: <20050515193710.GA20262@sociostat.org> <20050515215301.352fa111.albi@scii.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050515215301.352fa111.albi@scii.nl> User-Agent: Mutt/1.5.9i Sender: Eric Cheney cc: freebsd-questions@freebsd.org Subject: Re: can't connect to mysql X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cheney@soc.umass.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2005 20:19:31 -0000 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 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.... -- cheney@soc.umass.edu