George Pitcher ([EMAIL PROTECTED]) writes:
> Similar for me. Except that I can do all the usual SQL stuff as root but if
> I try and access via PHP I get the '/tmp/mysql.sock' missing message.
>
> Is a complete re-install of MySQL the only solution or is there something
> else that can be done to solve this problem, which, from scanning archives,
> is not an uncommon one.
> > 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.
Does /tmp/mysql.sock really exist? If not, the simplest solution is to
"ln -s /var/lib/mysql/mysql.sock /tmp" or wherever mysql.sock is living. You can find
this out by doing a "mysqladmin variables|grep socket".
--
Ed Carp, N7EKG - [EMAIL PROTECTED] - 214/341-4420 - http://www.pobox.com/~erc
Squished Mosquito, Inc.
Internet Applications Development
Escapade Server-Side Scripting Language Development Team
http://www.squishedmosquito.com
Pensacola - Dallas - Dresden - London
---------------------------------------------------------------------
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