This is no bug. This is usually a result of
1. The mysql server not starting.
2. Incorrect permissions.
3. socket file is in the wrong place and yes, you can define the location of
the socket file. RTFM for this.
----- Original Message -----
From: "Mark Lo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 23:55
Subject: Problem with Update to 3.23.38
> HI,
>
> I got the following problem with apache_1.3.20 + modssl-2.8.4-1.3.20
+
> openssl-0.9.6a + php-4.0.5 + mysql-3.23.38. After I upgrade the system, I
> can only connect to mysql server via the consle window. But, I am not
able
> to use the php-mysql command to connect to the server via the web, the
> following error messages pop-up.
>
> Warning: MySQL Connection Failed: Can't connect to local MySQL server
> through socket '/tmp/mysql.sock' (111) in
> /home/shuncheong/require/Password.php on line 1
>
> Please tell me is this a bug or something else.
>
> I have tried to reboot the server.
>
> Thank you
>
>
> Mark
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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