Re: php script connect to mySQL problem
| From: | Miles Thompson | Date: | Mon, 07 Jan 2002 01:55:15 +0000 |
| Subject: | Re: php script connect to mySQL problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15471@lists.php.net to get a copy of this message | ||
Is mysqld running?
Username?
Password?
At 08:30 PM 1/6/2002 -0500, Vu Hoang Huynh wrote:
Hi all, I'm a newbie to PHP and mySQL and I'm currently running PHP+mySQL on my Linux 2.2.16 kernel. Every time I try to connect to mySQL from a php page, I get this error message: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mys ql.sock' (111) What does that mean and how do I go about solving it? Thanks in advance for your directions and have a great new year. Best regards, -- 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