Check to see if the socket file exists in the right place with the right
permissions.

----- Original Message -----
From: "Gordon Stewart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 06, 2001 0:08
Subject: Error 2002


> Hi
>
> I have installed Mysql from the latest tar file and followed these steps.
>
> shell> groupadd mysql
> shell> useradd -g mysql mysql
> shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
> shell> cd mysql-VERSION
> shell> ./configure --prefix=/usr/local/mysql
> shell> make
> shell> make install
> shell> scripts/mysql_install_db
> shell> chown -R root  /usr/local/mysql
> shell> chown -R mysql /usr/local/mysql/var
> shell> chgrp -R mysql /usr/local/mysql
> shell> /usr/local/mysql/bin/safe_mysqld --user=mysql &
>
> When I run mysql all i seem to be getting is :
>
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)
>
> Can anyone help?
>
> Thanks
>
> Gordon
>
>
>
> ---------------------------------------------------------------------
> 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