Jason Bailey ([EMAIL PROTECTED]) writes:
> >>You mean "/var/lib/mysql/mysql.sock"? Details are IMPORANT.
>
> Yes, thanks for the pun. It was the above "/var/lib/mysql/mysql.sock" and I noted
>that deleting it and then running mysql_install_db or possible safe_mysqld
>recreated.
Well, it wasn't a pun :) Details are critically important, especially when you work
with complex systems like these. I was commenting on the lack of detail in your post
- you ran "something" and "something" happened, but you weren't quite sure what. It's
much more difficult when people have to guess what you did. I'm not trying to flame
you at all - but you will probably be able to get a lot more, and a lot higher
quality, help if you can supply as much detail as possible.
> > I've deleted it and running something above has brought it back again!- this
> > is good I think
>
> >>Bad idea.
>
> Slightly sarcastic- sorry
No, this really *is* a bad idea! The mysql.sock file is created by the server - if you
delete it, you will not be able to connect locally.
> >>ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock
> >>Should get you going.
>
> This, in my ignorance, looks like a soft link to the mysql.sock in the
>/var/lib/mysql/mysql.sock
> location. The file(?) does exist and I'm not sure why a softlink will help unless
>it's something to do with permissions.
If the server is creating mysql.sock in /var/lib/mysql and something else is looking
for it in /tmp, this is the easiest way to get it to work, besides checking to make
sure that the permissions are such that anyone who needs to can read and write to
mysql.sock.
--
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