mysql.sock

drewshen drewsheneman at gmail.com
Mon Mar 5 17:04:05 UTC 2007




Momchil Ivanov wrote:
> 
> На 2.3.2007 17:55 drewshen пише:
>> I installed  mysql through ports on freebsd 6.1.  i started the daemon,
>> and
>> mysql starts.  however when i try "mysql" i get
>> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
>> '/tmp/mysql.sock'
>>
>> i looked this up on the mysql page and did find much help.  first i tried
>>
>> shell> chmod +t /tmp
>>
>> to protect tmp.  that didnt solve it, so i tried to point my sock file to
>> another directory in /etc/my.cnf.  i got the same error message, even
>> with
>> the new directory.  does anyone know where my problem lies? thanks!
> 
> "What do you see in your mysql error log file?"
> 
> my error log shows no record of the "mysql.sock" error message. my latest
> record in it was when i restarted mysql.  i tried "ps -ef | grep mysql"
> and the only result was my search. however when i started mysql it said it
> was starting.   
> 
> -- 
> This correspondence is strictly confidential. Any screening, filtering
> and/or production for the purpose of public or otherwise disclosure is
> forbidden without written permission by the author signed above. If you
> are
> not the intended recipient, please immediately notify the sender and
> permanently delete any copies
> 
> PGP KeyID: 0x3118168B
> Keyserver: pgp.mit.edu
> Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/mysql.sock-tf3334648.html#a9315636
Sent from the freebsd-database mailing list archive at Nabble.com.



More information about the freebsd-database mailing list