RE: RE: Getting started - mysql.sock error

2002-10-15 Thread George Pitcher

Egor,

> Run
> 
>ps ax | grep mysqld
> 
> to see if mysqld is already running.
> 

This returns '11276 pts/1S  0:00 grep mysql'


I have checked and cannot find mysql.sock anywhere.

Cheers

George

-
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




re: RE: Getting started - mysql.sock error

2002-10-15 Thread Egor Egorov

George,
Tuesday, October 15, 2002, 5:09:47 PM, you wrote:

GP> Its slightly difficult doing it exactly as my email is on my W2K laptop -
GP> but here goes:

GP> error: 'Can't connect to local MySQL server through socket
GP> '/var/lib/mysql/mysql.sock' (2)'
GP> Check that mysqld is running and that the socket:
GP> '/var/lib/mysql/mysql.sock' exists!

GP> If I run mysqld, I get an error:


GP> Can't start server : Bind on unix socket: Permission denied
GP> Do you already have another mysqld server running on socket:
GP> /var/lib/mysql/mysql.sock ?

Run

   ps ax | grep mysqld

to see if mysqld is already running.



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ma02-010c
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   <___/   www.mysql.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




RE: Getting started - mysql.sock error

2002-10-15 Thread George Pitcher

Ed,

Its slightly difficult doing it exactly as my email is on my W2K laptop -
but here goes:

error: 'Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket:
'/var/lib/mysql/mysql.sock' exists!

If I run mysqld, I get an error:


Can't start server : Bind on unix socket: Permission denied
Do you already have another mysqld server running on socket:
/var/lib/mysql/mysql.sock ?

Please un-stump me.

Stumped

George

> -Original Message-
> From: Ed Carp [mailto:[EMAIL PROTECTED]]
> Sent: 15 October 2002 1:31 pm
> To: George Pitcher; [EMAIL PROTECTED]
> Subject: RE: Getting started - mysql.sock error
>
>
> > When I try to do anything I get an error saying that the
> 'mysql.sock' could
> > not be found.
>
> Actually, you probably got a more detailed error message than
> this.  Try posting the entire error message - I promise you that would
> be more useful ;)
>
> > I remember that this has been a regular chestnut but can't find any
> > solutions in the archive or elsewhere.
>
> Look harder, grasshopper ;)
>
> > If I download and install the v4 RPMs will that cure it?
>
> How would that help?  Think about it logically.
>
> The quick answer to your question is create a soft link from
> where the mysql.sock file is to where it expects it to be.  Since you
> didn't post the entire error message, it's not possible to be
> more specific, but you might try looking in /tmp and /var/lib/mysql.
>
>


-
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




re: Getting started - mysql.sock error

2002-10-15 Thread Egor Egorov

George,
Tuesday, October 15, 2002, 2:55:14 PM, you wrote:

GP> Iam back on this list after being diverted by job change - moving house etc.

GP> I've just set up one of my machines with Mandrake 9.0 and went for the
GP> included MySQL install (3.23).

GP> When I try to do anything I get an error saying that the 'mysql.sock' could
GP> not be found.

Is MySQL server running?

GP> I remember that this has been a regular chestnut but can't find any
GP> solutions in the archive or elsewhere.

GP> Any clues?

GP> If I download and install the v4 RPMs will that cure it?



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ma02-010c
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   <___/   www.mysql.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