From owner-freebsd-questions@FreeBSD.ORG Sun May 15 19:53:04 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 D661416A4CE for ; Sun, 15 May 2005 19:53:04 +0000 (GMT) Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6968943D8A for ; Sun, 15 May 2005 19:53:04 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:10020 helo=mail.aseed.antenna.nl) by post-22.mail.nl.demon.net with esmtp (Exim 4.43) id 1DXPAd-000CBV-C0; Sun, 15 May 2005 19:53:03 +0000 Received: from http.aseed.antenna.nl (unknown [192.168.0.50]) by mail.aseed.antenna.nl (Postfix) with ESMTP id 5B003154485; Sun, 15 May 2005 21:56:27 +0200 (CEST) Received: from localhost.localdomain (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.antenna.nl (Postfix) with ESMTP id 61EC958CC1F; Sun, 15 May 2005 21:53:03 +0200 (CEST) Date: Sun, 15 May 2005 21:53:01 +0200 From: "albi@scii.nl" To: cheney@soc.umass.edu Message-Id: <20050515215301.352fa111.albi@scii.nl> In-Reply-To: <20050515193710.GA20262@sociostat.org> References: <20050515193710.GA20262@sociostat.org> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2005 19:53:04 -0000 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