Re: Re: mysql_connect does not connect
| From: | Sam Hobbs | Date: | Tue, 14 Sep 2004 19:24:24 +0000 |
| Subject: | Re: Re: mysql_connect does not connect | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196648@lists.php.net to get a copy of this message | ||
"Andrew Kreps" <andrew.kreps@gmail.com> wrote in message
news:3f0cd6910409141129174d9cb9@mail.gmail.com...
> On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs <socalsam@gmail.com> wrote:
>> Also, are the warning messages documented? As I asked in my original
>> question, is 10061 an error code?
>
> 10061 is a generic winsock error for a timeout, it's not PHP or MySQL
> specific. It means that the call couldn't connect to the socket you
> were trying to hit within the time allowed.
Thank you; that helps.
So something that might help is for the PHP message to issue a more specific
message indicating the timeout problem. This is just a suggestion for the
developers.