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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nb at forum-verlag dot com
New email:
PHP Version: OS:

 

 [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: Thu May 09 21:01:31 2024 UTC