Bug No. 1200 Solution: MySQL Connection Failed: Can't create IP socket (10036)
| From: | Norbert Bietsch | Date: | Mon, 08 Mar 1999 08:29:47 +0000 |
| Subject: | Bug No. 1200 Solution: MySQL Connection Failed: Can't create IP socket (10036) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4523@lists.php.net to get a copy of this message | ||
The solution to this Windows related problem is:
PHP3 expects the lastest Winsock driver versions to be installed, if any socket related function
should be performed (i.e. mysql_connect, gethostbyaddress etc.)
With most versions of Windows 95 it is necessary to update to the Microsoft "Winsock 2"
service pack. With Windows NT 4.0 installation of service pack 3 is mandatory. There are no problems
when using Windows 98 (except for performance).
Norbert
--------------- Problem ---------------
The script
<?php mysql_connect("localhost", "user", "password"); ?>
causes the following error:
MySQL Connection Failed: Can't create IP socket (10036)
In Win32 PHP the mySQL-extensions are enabled (php.ini).
MySQL database generally allows login and connection via
localhost for "user" & "password", this is verified using
mySQL-client and Perl with mysql modules.
Is the Connection Failure I experience a general problem with
PHP3 access on mySQL (all Win32 based)?
or: Can this problem be solved by some entries in php3.ini?
or: Is there a way to find out, why creation of IP socket failed?
Thank you.
Norbert
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net