One reason could be the server isn't running.  This problem has been
documented, please RTFM.

----- Original Message -----
From: "Roger deBry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 6:11
Subject: newbie - connecting to data base with php sql_pconnectstatement


I am trying to connect to a mysql server fom a php script using the php
sql_pconnect statement. I have used "localhost" as the host name, and the
userid and password I normally use when connecting from the console.
However, when executing the sql_pconnect statement I get an error message
that reads "Warning: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111) ".  Any ideas on what is wrong. This is my
first attempt at this.

Please respond via email, as I do not have access to the discussion list
through my current isp.
Thank you ...



---------------------------------------------------------------------
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