hi,
        I am working on linux.
        my mysql server is creating problems. when i do ./mysqld start,
        i  get server started ok.
        But i am not abel to login
        the message i get is
                ERROR 2002: Can't connect to local MySQL server through socket'
/var/lib/mysql/mysql.sock' (2)

        and when i try to stop the server, i get the mesage failed.
what couldbe the problem?

--
K.S.Selva Prakash
Tachyon Technologies Pvt Ltd.



Selva - this can indicate that either mysql.sock is owned by the wrong user
(it should either be root or mysql on most machines) or that it is not
located in the correct place.  The mysql.sock that you refer to is PROBABLY
a link to the 'real' mysql.sock located in another directory.  It could be a
recursive link, or just linked to a non-existant file.  FIND for mysql.sock
on your machine and see how many places it lives, then verify that the one
giving the error (/var/lib/mysql/mysql.sock) is linked to the 'real' one.

This may NOT be your issue, but it happened on our box after a reload of
MySQL.  Good luck!

Jay Fesco


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