jason bailey ([EMAIL PROTECTED]) writes:

> I'm consistently getting the error (2002)
> : Can't connect to local MySQL server through socket
> '/var..../mysql/mysql.sock' (111)

You mean "/var/lib/mysql/mysql.sock"? Details are IMPORANT.

> I've deleted it and running something above has brought it back again!- this
> is good I think

Bad idea.

> 1. Can i found out if the server is or is not running -which command and
> what am I looking for?

mysqladmin status

> 2. Can I stop the mysql server

mysqladmin shutdown

> 3. Can I start it?

safe_mysqld&

Where is mysql.sock?  In /tmp?  If so:

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

Should get you going.

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

Reply via email to