List:General Discussion« Previous MessageNext Message »
From:Rolf Hopkins Date:May 7 2001 2:15am
Subject:Re: location of mysql.sock
View as plain text  
----- Original Message -----
From: "Gordon Stewart" <gordon@stripped>
To: <mysql@stripped>
Sent: Sunday, May 06, 2001 19:57
Subject: location of mysql.sock


> hi
>
> When I run the command
>
>     shell> /usr/local/mysql/bin/safe_mysqld --user=mysql &
>
> it creates the file /tmp/mysql.sock
>
> the problem is that when i run the command
>
>     shell> mysql
> it gives me this error:
>
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)
>
> and in looking for the file in /var/lib/mysql/mysql.sock
>
> Can I change this and how do I do this?

Yes and the manual should tell you how.

>
> Thankyou
>
> Gordon
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <mysql-thread73130@stripped>
> To unsubscribe, e-mail
<mysql-unsubscribe-rhopkins=mail.waytech.com.tw@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Thread
location of mysql.sockGordon Stewart6 May
  • Re: location of mysql.sockRolf Hopkins7 May