List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:September 14 2001 1:26pm
Subject:Re: Connection through Unix Sockets
View as plain text  
Create an /etc/my.cnf file and
add entries for the socket location.

Bobby Chopra wrote:

> 'which mysql' just kicks back the expected '/usr/bin/mysql'
> 
> The MySQL install was clean.
> 
> Bobby
> 
> ----- Original Message -----
> From: "Thomas Spahni" <tsp@stripped>
> To: "Bobby Chopra" <bob@stripped>
> Cc: <mysql@stripped>
> Sent: Friday, September 14, 2001 12:45 PM
> Subject: Re: Connection through Unix Sockets
> 
> 
> 
>> On Fri, 14 Sep 2001, Bobby Chopra wrote:
>> 
>> 
>>> Slight problem that's confusing me a bit.
>>> 
>>> Upon connection to mysql using 'localhost' I get the age old error
>> 
> 'Can't
> 
>>> connect ... through /tmp/mysql.sock'
>>> 
>>> Before anyone screams - read the archive etc. I have tackled this
>> 
> problem
> 
>>> before but this time I am slightly confused.
>>> 
>>> The socket that mysql should be using is '/var/lib/mysql/mysql.sock',
>> 
> and if
> 
>>> I run mysqladmin version/variables I get this path echoed back at me,
>> 
> but
> 
>>> the connection error throughs back '/tmp/mysql.sock' as the path.
>>> 
>>> Have I just fouled up this time, or is there something a little strange
>>> about this set-up (Cobalt RaQ4i).
>> 
>> Bobby,
>> 
>> could it be that you have an old version of the client in your exec path?
>> 
>> what does PROMPT> which mysql
>> say??
>> 
>> Thomas
>> 
>> 
>> ---------------------------------------------------------------------
>> 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-thread85499@stripped>
>> To unsubscribe, e-mail
> 
> <mysql-unsubscribe-bob=sourcedesign.co.uk@stripped>
> 
>> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>> 
>> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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-thread85503@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-- 
Gerald L. Clark
gerald_clark@stripped

Thread
Connection through Unix SocketsBobby Chopra14 Sep
  • Re: Connection through Unix SocketsThomas Spahni14 Sep
    • Re: Connection through Unix SocketsBobby Chopra14 Sep
    • Re: Connection through Unix SocketsGerald Clark14 Sep