From owner-freebsd-questions@FreeBSD.ORG Sat Apr 17 11:17:55 2004 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 D0F4A16A4CE for ; Sat, 17 Apr 2004 11:17:55 -0700 (PDT) Received: from sv19.dfserver19.com (sv19.dfserver19.com [207.44.192.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F5ED43D5D for ; Sat, 17 Apr 2004 11:17:55 -0700 (PDT) (envelope-from shaun@insipidity.co.uk) Received: from host217-42-19-218.range217-42.btcentralplus.com ([217.42.19.218] helo=[192.168.1.40]) by sv19.dfserver19.com with asmtp (Exim 4.24) id 1BEuO4-0001FG-88; Sat, 17 Apr 2004 19:17:34 +0100 From: Shaun Friedle To: chip In-Reply-To: <40816CA3.8070708@wiegand.org> References: <40816CA3.8070708@wiegand.org> Content-Type: text/plain Message-Id: <1082225880.288.8.camel@Shaun> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 17 Apr 2004 19:18:00 +0100 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sv19.dfserver19.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - insipidity.co.uk cc: questions@freebsd.org Subject: Re: installed mysql/php/apache but there's no mysql.sock file 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: Sat, 17 Apr 2004 18:17:56 -0000 On Sat, 2004-04-17 at 18:42, chip wrote: > I then created a file in /tmp called mysql.sock but > mysql still gives the same error -[error 2002] cannot connect to local > mysql server through /tmp/mysql.sock (2). > I read the section in the mysql manual about the socket but don't see > anything about creating this file. > How do I fix this? I'm not an expert on mysql, but I believe you get that message if mysqld isn't running (and because it isn't running, it hasn't created the file). Have you checked if it is running (ps waux | grep mysqld)? If it isn't, run it (should be in the bin directory of mysql). -- Shaun Friedle