[KLUG Members] mysql

Adam Williams members@kalamazoolinux.org
11 Feb 2002 21:50:08 -0500


>MySQL won't work on my fresh install of RedHat 7.1 (the sad thing is
>that my Windows box runs apache, MySQL and PHP without problems)
>I get ERROR 2002: Can't connect to local MySQL server through socket
>'/var/lib/mysql/mysql.sock' (111)

This is a UNIX Domain Socket,  which explains my TCP/IP connects work
and local connections do not.  What are it's permissions?  If you do a
"netstat -ap --protocol=unix" do you see your mysqld listening on the
domain socket?

>The file is there. What's up?  Does it have to be listed in xinetd or
>something?

No, mysqld runs standalone, the superserver (inetd, xinetd) is not
involved.