SQL Problems

plug-discuss@lists.plug.phoenix.az.us plug-discuss@lists.plug.phoenix.az.us
Fri, 22 Mar 2002 13:37:32 -0500


>mysql.default_socket    =
>
>and changing it to...
>
>mysql.default_socket    =       /var/lib/mysql/mysql.sock
>
>or wherever your mysql.sock is

>> The mysql.sock file does not exist on the system. Is >> >> there a package or
>> install I missed?

I've had this problem, too. Did you look in /tmp for the socket file? Or /usr/tmp? If you used locate to find the
file, I don't believe the program that populates the
locate database searches /tmp, /usr/tmp, and for that
matter, I don't think it records socket files, pipe
files, device files, or symbolic links ... just
files and directories.

I don't have access to my usual system right now to
check this stuff, so I'm just throwing out stuff to
look at.

Also ... the socket file is not something that is
"installed" per se, but I believe is created when
the mysql daemon starts. And as far as I can remember,
there is nothing that removes it if the daemon is
killed. (Which is not a problem.)


Lynn David Newton
Phoenix, Arizona