logo       

Re: LOST mysql.sock: msg#01128

db.mysql.general

Subject: Re: LOST mysql.sock



Rahadul Kabir wrote:
>
> How can I replace mysql.sock file? I don't see the mysql.sock file under
> /var/lib/mysql. but when i try locate >> mysql.sock, I can see that its
> there but physically its not.


locate updates once a day (on my system at midnight). If the file was
deleted since the last time the locate database was updated then it will
of course still report the file as existing even though you know its
not. That's why it isn't always safe to rely on locate. If u must use
it update the it's db first by using updatedb, then run locate again.
Sometimes a better solution is to use the find command.

brandon

---------------------------------------------------------------------
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-thread113377@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail
<mysql-unsubscribe-gcdmg-mysql=m.gmane.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise