php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1190 MySQL Connection Failed: Can't create IP socket (10036)
Submitted: 1999-02-28 10:09 UTC Modified: 1999-03-03 18:02 UTC
From: nb at forum-verlag dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.6 OS: Windows 95
Private report: No CVE-ID: None
 [1999-02-28 10:09 UTC] nb at forum-verlag dot com
Error: MySQL Connection Failed: Can't create IP socket (10036)

The test scripts that produces the errors:

<?php
    mysql_connect("localhost:3306", "root", "");
?>

<?php
    mysql_connect("www.forum-verlag.com", "user", "password");
?>

On localhost: MySQL Server Version: 3.22.15-gamma
On remote host: MySQL Server Version 3.20.25

The error appears, although it is possible to connect to the server via myODBC or the mysql client. Even the Perl mysql modules work fine on mySQL.

So I suppose, the problem is PHP-related.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-03-03 18:02 UTC] eschmid
With the optional port you cannot connect to the IP socket.
I don't know Windows, but under Unix the socket is in /tmp/mysql.sock.
I think it's a permission problem related to MySQL. 

-Egon

What is your problem? Please read the dos and don'ts page

-Egon
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 17:01:29 2024 UTC