--- Carlos Rubio <[EMAIL PROTECTED]> wrote:
> I am geting the error:
> Can't connect to local MySQL server through socket '/tmp/mysql.sock' on all
> pages requiring the use of mysql.

I got this error before too.

Here is how I fixed it:
(you probably have to do this as root)

ln -s /var/tmp/mysql.sock /tmp/mysql.sock

whre the default in /etc/my.cnf is
   socket = /var/tmp/mysql.sock

No doubt there is a more elegant way,
but my philosophy is, if it works. let it be ;-)

Tom



=====
Tom Atwater
tomath2o.yahoo.com

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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