From owner-freebsd-questions@FreeBSD.ORG Sat May 20 16:26:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 252E316A41F for ; Sat, 20 May 2006 16:26:51 +0000 (UTC) (envelope-from cruzweb@gmail.com) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.200.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA3FF43D49 for ; Sat, 20 May 2006 16:26:50 +0000 (GMT) (envelope-from cruzweb@gmail.com) Received: from [127.0.0.1] (c-68-61-214-252.hsd1.mi.comcast.net[68.61.214.252]) by comcast.net (sccrmhc13) with ESMTP id <2006052016264901300bfmgqe>; Sat, 20 May 2006 16:26:49 +0000 Message-ID: <446F434B.7000607@gmail.com> Date: Sat, 20 May 2006 12:26:51 -0400 From: John Cruz Organization: Cruz Web Development User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Peter Michaux References: <3cbaf1c80605200857t4043cc4r519088dad9ccc008@mail.gmail.com> In-Reply-To: <3cbaf1c80605200857t4043cc4r519088dad9ccc008@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: installing MySQL with FreeBSD pkg_add X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: john@cruzweb.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 16:26:51 -0000 Peter, cp /usr/local/share/my-small.cnf /var/db/mysql/my.cnf. Have a look at your new config in /var/db/mysql and make any necessary adjustments. There's some other configs in /usr/local/share so if you need something other than the small configuration file copy that one over. All depends on what you're doing with it. -John Peter Michaux wrote: > Hi, > > I am happy to have FreeBSD 6.1-RELEASE and KDE running on my intel > box. I am now trying to install MySQL. I logged in as root and ran the > following commands > > # pkg_add -r msql41-server > Added group "mysql" > Added user "mysql" > # pkg_add -r mysql41-client > "mysql-client-4.1.18_1" or its older version already installed > # mysql -uroot > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > 'tmp/mysql.sock' (2) > > > What to do? > > Thanks, > Peter > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >