Adam Weeks wrote:
>
> I'm running RH7 with the most recent updates to mySQL from RH's update
> pages, but I'm still having problems accessing the SQL server through
> the client as "myself" (root is fine, of course)
>
> Even with full permissions,
> I get
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)
>
> The server and client both seem perfectly fine as root, and when I'm at
> the bash as root, I can access the server as "myself." I only get the
> problem if I am "myself" at the bash, and then try to launch mySQL, and
> it is always this socket error !
>
> Anyone know how to get control of this socket issue?
>
> None of the literature I've seen to date mentions socket problems
The directory path to mysql.sock must be world readable and searchable
searchable.
Use /etc/my.cnf to redefine the socket location, or
chmod 775 /var/lib/mysql
---------------------------------------------------------------------
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