ID: 31746 Updated by: [EMAIL PROTECTED] Reported By: gianni at comi dot it -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Windows 2003 PHP Version: 5.0.3 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-01-28 17:17:51] gianni at comi dot it Description: ------------ On Windows 2003 and IIS6, using php in cgi mode. mysql_connect returns this "warning": Warning: Can't create TCP/IP socket (10041) in.... This happens only on Windows 2003. Example: mysql_connect( "localhost", "rightuser", "rightpass" ); mysql_connect( "127.0.0.1", "rightuser", "rightpass" ); mysql_connect( "remotehosname", "rightuser", "rightpass" ); I get always the same error Reproduce code: --------------- if (!($m_link = mysql_connect( $DBhostname, $DBuserName, $DBpassword ))) { db_err ("db connect error"); } Actual result: -------------- Warning: mysql_connect() [function.mysql-connect]: Can't create TCP/IP socket (10041) in F:\Webs\test.php on line 21 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31746&edit=1