Is that the correct location for mysql.sock?
If yes, is it world readable and writeable?

If no, is the socket location defined in /etc/my.cnf?
If it is, this file must be world readable.

½ÉÃ溸 wrote:

> I installed linux and mysql 3.23.40.
> Root installed and started mysql and user (charley) wants to connect mysql.
> When charley enters "mysql", 
> "Can't connect to local MySQL server through socket '/tmp/mysql.sock'(2)"
> message appears.
> 
> Of course root can connect to mysql server with above command. That is
> there was no problem.
> 
> What's wrong with charley?
> 
> 
> ---------------------------------------------------------------------
> 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


-- 
Gerald L. Clark
[EMAIL PROTECTED]


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