List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:September 6 2001 5:04pm
Subject:Re: 'tmp/mysql.sock' (2) error
View as plain text  
create a .my.cnf in the home directory of the user that will be running 
the clients, and enter a
[client]

paragraph that defines the socket.

BW wrote:

> Ed,
> 
> 
>> 1. Is MySQL actually running?
> 
> Yes.
> 
> 
>> 2. If so, where is it putting mysql.sock?
> 
> It is putting it into /raid/mysql/data/mysql41.sock -- I specified this
> location in the socket variable(?) in both [client] and [mysqld] sections of
> the my.cnf file.  my.cnf is located in /raid/mysql/data; there are no other
> my.cnf files in the filesystem.
> 
> 
>> 3. If it's in /var/lib/mysql/mysql.sock, the quick fix is to do "ln -s
> 
> /var/lib/mysql/mysql.sock /tmp/mysql.sock".
> Actually, I want to specify the different location described in #2 in
> preparation for my setting up 3.23.41 on a box where 3.22.21 is already
> running.  Because the older version uses /tmp/mysql.sock, I don't have the
> option of creating the symlink for 3.23.41.  I know that I can run configure
> to set different socket and port locations, but I'd rather handle this
> through my.cnf if at all possible.  I can get the port definition to work
> via my.cnf, but the socket gives the mysql client fits.
> 
> 
>> 4. Where is "my.cnf" located - you didn't say.
> 
> Again, /raid/mysql/data.
> 
> 
>> 5. What application are you trying to run that gives the error - again,
> 
> you didn't say.
> Just the command-line mysql client that is packaged with the binary.
> 
> Thanks in advance for your help,
> Brian
> 
> 
> ---------------------------------------------------------------------
> 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-thread84781@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
'tmp/mysql.sock' (2) errorBW \(ST\)5 Sep
  • RE: 'tmp/mysql.sock' (2) errorCarsten H. Pedersen5 Sep
    • Re: 'tmp/mysql.sock' (2) errorBrian Warn5 Sep
  • Re: 'tmp/mysql.sock' (2) errorGerald Clark5 Sep
Re: 'tmp/mysql.sock' (2) errorEd Carp6 Sep
  • Re: 'tmp/mysql.sock' (2) errorBW6 Sep
  • Re: 'tmp/mysql.sock' (2) errorGerald Clark6 Sep
re: 'tmp/mysql.sock' (2) errorEd Carp6 Sep
RE: 'tmp/mysql.sock' (2) errorBW6 Sep