Try running safe_mysqld, this should generate the sock file.

I came across the same issue when I installed mysql. Check and see if mysql
(as a user) has access to the mysql directory. You might want to do a

        chown -R mysql:mysql {mysql dir}

to change the permissions for the mysql dir and all directories underneath
it.

Cheers.

> -----Original Message-----
> From: Ajay Nagarkar [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 21 July 2001 10:30 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: mysql.sock
>
>
> Hi All,
> I am a new user of mysql. I too installed mysql on my
> linux box. but i get the same message. what is this
> message and how do we solve it.
> I had the client and server RPM and installed them.
> I once managed to start the server with mysqld. But
> now the server also doesnt start saying host.frm
> error. Please do let me know the details of linux
> installation. I need mysql very badly and I am seeking
> help from all of you.
> Thanks
> Ajay
> PS - Micheal , If you get to know how this problem can
> be solved do let me know. I shall do the same if I get
> the solution
> --- Michael Johnson
> <[EMAIL PROTECTED]> wrote:
> > I have been trying to install MySQL on my Cobalt
> > RAQ3 and I seem to have
> > lost my mysql.sock file. I get the following error
> > message when I tray to
> > carryout any mysql activity.
> >
> > ERROR 2002: Can't connect to local MySQL server
> > through socket
> > '/var/lib/mysql/mysql.sock' (111)
> >
> > Pls advise
> >
> >
> >
> > Michael Johnson
> > Director
> > BPEnet
> > Humphrey Consulting Limited
> > 13 Austin Frais
> > London EC2N 2JX
> > Tel +44(0)1323 438975
> > Fax +44(0)1323 738355
> > email [EMAIL PROTECTED]
> >
> > Also @ Carmichael House
> > 60 Lower Baggott Street
> > Dublin 2
> > Tel +353(0)1 602 4739
> >
> > Also @ 26 Boulevard Royal
> > L-2449
> > Luxembourg
> > Tel +352 22 99 99 55 07
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > 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
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.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


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