Bradley Jenkins wrote:

> i get this error when starting MySQL
> 
> ERROR 2002: Can't connect to local MySQL server through socket 
> '/var/lib/mysql/mysql.sock' (111)
> 
> /var/lib/mysql/mysql.sock exists with srwxrwxrwx and user mysql.

There is a possibility that this socket file belonged to RPM version of 
MySQL but you are using some other MySQL binary which creates socket 
file in different place. You can check where MySQL listens socket by 
command "lsof -an | grep mysql" for example. You should see location of 
socket. If not, then MySQL does not run at all.


-- 
For technical support contracts, goto https://order.mysql.com/
    __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Tonu Samuel <[EMAIL PROTECTED]>
  / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Security Administrator
/_/  /_/\_, /___/\___\_\___/   Hong Kong, China
        <___/   www.mysql.com


---------------------------------------------------------------------
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