From owner-freebsd-questions Sun Jan 26 12: 8:59 2003 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 AE3DB37B401 for ; Sun, 26 Jan 2003 12:08:58 -0800 (PST) Received: from mail.adelphia.net (pa-plum1b-166.pit.adelphia.net [24.53.161.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB7EF43E4A for ; Sun, 26 Jan 2003 12:08:57 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([172.16.0.95]) by mail.adelphia.net (8.12.3/8.12.3) with ESMTP id h0QKALiE006184; Sun, 26 Jan 2003 15:10:22 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E344087.7000900@potentialtech.com> Date: Sun, 26 Jan 2003 15:09:43 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-2?Q?Gannater_J=E1nos?= Cc: BSD Subject: Re: MySQL References: Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gannater János wrote: > I am trying to use Horde. > When I execute this command: > mysql --user=root --password=pass < mysql_create.sql > The following error comes up: > ERROR 2002: Can't connect to local MySQL server through > socket '/tmp/mysql.sock' (2) > > What could be the problem? How can I fix it? Can you verify that the MySQL server is running? sockstat | grep mysql Does that command show mysqld listening on /tmp/mysql.sock? If not, start your MySQL server. Use the safe_mysqld script or restart your system and let the startup script handle it automatically. If neither of those works, verify that you have the MySQL server properly installed and configured. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message