Re: MySQL Error

From: Date: Tue, 10 Jul 2001 20:17:42 +0000
Subject: Re: MySQL Error
Groups: php.db 
Request: Send a blank email to php-db+get-10228@lists.php.net to get a copy of this message
ensure that your mysqld is actually running. Then try running 'mysql -hlocalhost -uroot' if it's a new install, or add '-p' at the end if you've set a root password. Alternately, specify another user after -u. That should help. I just figured this one out the other day... I had gone so far as to install phpMyAdmin solely because I couldn't get the damn mysql client to work. Good Luck, Ben >Mailing-List: contact php-db-help@lists.php.net; run by ezmlm >list-help: <mailto:php-db-help@lists.php.net> >list-unsubscribe: ><mailto:php-db-unsubscribe@lists.php.net> >list-post: <mailto:php-db@lists.php.net> >Delivered-To: mailing list php-db@lists.php.net >Date: Tue, 10 Jul 2001 22:23:08 +0530 >From: Vivek Misra <vivekmisra@bigfoot.com> >To: php-db@lists.php.net >Mime-Version: 1.0 >Content-Transfer-Encoding: 7bit >Subject: [PHP-DB] MySQL Error > >Dear Experts > >When ever i try to run MySQL under linux it gives me following error > >ERROR 2002 : can't connect to local MYSQL server through socket '/var/lib/mysql.sock' (111) > >what could be possible remedy/rectification of the above ? > >million thx in advance > >Vivek Misra > >-- >PHP Database Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net >For additional commands, e-mail: php-db-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#10228) next »