php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26279 Can't connect to MySQL server on .......' (10048)
Submitted: 2003-11-16 20:23 UTC Modified: 2003-11-25 15:35 UTC
From: jo_fox at 163 dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.3.2 OS: win2000 server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jo_fox at 163 dot com
New email:
PHP Version: OS:

 

 [2003-11-16 20:23 UTC] jo_fox at 163 dot com
Description:
------------
environment :win2000 server sp4,iis5
mysql
Server version          4.0.15-nt
Protocol version        10

PHP Version 4.3.2

run vbb forum,

It's do work normally,the error happened after some day's run ,
"ERROR  2003:  Can't  connect  to  MySQL  server  on  '****'  (10048)"

when this error took place,maybe disappear when refresh the page,but more time can't be deal.

this time,the mysql server is run in gear,I can connect the mysql server by mysql command line or mysql-front tools.

but the error occur when I connect the mysql by php.

the error can't be resolved by restart mysql or iis,
only can be resolved by restart the win2000 server.






Reproduce code:
---------------
vbb forum code


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-17 14:17 UTC] iliaa@php.net
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.

If you are using persistent connections it is likely PHP has hit a limit of allowed open connections and cannot initialize additional connection. Same could be true of the number of open non-persistent connections exceed the maximum allow MySQL connections.
 [2003-11-25 15:35 UTC] sniper@php.net
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.

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 03:01:28 2024 UTC