From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 08:15:05 2005 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 7A45316A41F for ; Wed, 14 Dec 2005 08:15:05 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B67343D55 for ; Wed, 14 Dec 2005 08:15:04 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.60 #0 (FreeBSD 4.11-STABLE)) id 1EmRmn-00057U-Vp by authid ; Wed, 14 Dec 2005 11:14:54 +0300 Date: Wed, 14 Dec 2005 11:14:53 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Message-ID: <20051214081453.GF35115@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org, bsdlists@sbcglobal.net References: <439FC7D1.9070907@sbcglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <439FC7D1.9070907@sbcglobal.net> X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.11 (2005-09-15) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.11 Cc: Subject: Re: Can't connect to local MySQL server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 08:15:05 -0000 * On 13/12/05 23:20 -0800, Jose Borquez wrote: > I am attempting to create a mysql database so that I can install Group > Office using > mysqladmin create groupoffice and I keep getting the following errors: > > mysqladmin: connect to server at 'localhost' failed > error: 'Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2)' > Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! > > I looked in /tmp and mysql.sock is not there. > > Can someone please tell me what is wrong and what I need to do to > correct this? echo "mysql_enable="YES"" >> /etc/rc.conf sh /usr/local/etc/rc.d/mysql-server.sh start ls -al /tmp/mysql.sock # If it's still missing, let me know! -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Always borrow money from a pessimist; he doesn't expect to be paid back.