php script connect to mySQL problem
| From: | Vu Hoang Huynh | Date: | Mon, 07 Jan 2002 01:30:59 +0000 |
| Subject: | php script connect to mySQL problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15470@lists.php.net to get a copy of this message | ||
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,