If your server's not running, there won't be a mysql.sock file. It's created
when the server starts and disappears when the server stops. It's not really
a "file" in the regular sense -- it's a unix socket. So, the server does not
need it to start, it creates it and all the other command line applications
need to know where it is in order to talk to the server.

What command are you using to start the server? You should be using a
wrapper script called safe_mysqld to launch the daemon. It's typically
located in /usr/bin or /usr/local/bin. Does this wrapper script give any
errors? If you're not using safe_mysqld, or don't know what it is, then you
need to read the manual:

http://www.mysql.com/doc/I/n/Installing.html

It has step-by-step instructions and will save you a lot of time -- and
frustration.

--jeff

----- Original Message -----
From: "Intrex" <[EMAIL PROTECTED]>
To: "Mike" <[EMAIL PROTECTED]>; "MySQL" <[EMAIL PROTECTED]>
Sent: Saturday, March 02, 2002 8:43 PM
Subject: Re: mysql.sock


> Ok, I think I have mentioned this like 3 times already.  there is no
> mysql.sock anyplace on my system.  I need a mysql.sock file.
>
> I have set the symbolic links.  Originally they were in the /var/lib/mysql
> directory, then I changed it to the /tmp directory per so many peoples
> advice.  not mater what I HAVE NO mysql.sock file.  I need a mysql.sock
> file.
>
> Can someone send me a mysql.sock file so I can place the mysql.sock file
in
> the appropriate directory of what is in the myysql.sock file so I can make
> one myself.
>
> Mark



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