Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001071

Re: [PHP-DB] MySQL Error From: Benjamin Bleything (bleythbe <email protected>)
Date: 07/10/01

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 <email protected>; run by ezmlm
>list-help: <mailto:php-db-help <email protected>>
>list-unsubscribe: <mailto:php-db-unsubscribe <email protected>>
>list-post: <mailto:php-db <email protected>>
>Delivered-To: mailing list php-db <email protected>
>Date: Tue, 10 Jul 2001 22:23:08 +0530
>From: Vivek Misra <vivekmisra <email protected>>
>To: php-db <email protected>
>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 <email protected>
>For additional commands, e-mail: php-db-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>