Dear Selva,

> ERROR 2002: Can't connect to local MySQL server through socket'
> /var/lib/mysql/mysql.sock' (2)

Wrong file rights. Change /var/lib/mysql/ to 777 for a test, and
everything will work.
Run the MySQL daemon (server) with user "mysql", and change the
/var/lib/mysql/ rights to 700 (7 for user mysql).

Regards,

--
  Stefan Hinz
  Geschaftsfuhrer / CEO iConnect e-commerce solutions GmbH
  #  www.js-webShop.com www.iConnect.de
  #  Gustav-Meyer-Allee 25, 13355 Berlin
  #  Tel: +49-30-46307-382  Fax: +49-30-46307-388

----- Original Message -----
From: "Selva Prakash" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 10:14 AM
Subject: MySql Server creating problem


> hi,
> I am working on linux.
> my mysql server is creating problems. when i do ./mysqld start,
> i  get server started ok.
> But i am not abel to login
> the message i get is
> ERROR 2002: Can't connect to local MySQL server through socket'
> /var/lib/mysql/mysql.sock' (2)
>
> and when i try to stop the server, i get the mesage failed.
> what couldbe the problem?
>
> --
> K.S.Selva Prakash
> Tachyon Technologies Pvt Ltd.
>
> ---------------------------------------------------------------------
> 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