[PHP-DEV] Bug No. 1200 Solution: MySQL Connection Failed: Can't create IP socket (10036) From: Norbert Bietsch (nb <email protected>)
Date: 03/08/99

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 <email protected>
For help: php-dev-help <email protected>