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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to