Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2003 15:09:43 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        =?ISO-8859-2?Q?Gannater_J=E1nos?= <gannater@freemail.hu>
Cc:        BSD <freebsd-questions@freebsd.org>
Subject:   Re: MySQL
Message-ID:  <3E344087.7000900@potentialtech.com>
References:  <freemail.20030026210044.68114@fm13.freemail.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E344087.7000900>