I just had to re-install mysql and I am having a problem starting it up. It cannot find the socket (mysql.sock). The problem is that neither can I. In my Mac OS X 10.4 terminal, I type: locate mysql.sock
, and I get back /private/tmp/mysql.sock
. It makes sense that the socket file exist in that location, but it actually does not.
How can I find the socket file?
If locate is returning a false location, it must have some sort of memory and probably indexes. How can I refresh that index?
to answer the first part of your question:
run
% mysqladmin -p -u <user-name> variables
and check the 'socket' variable