ID:               30719
 User updated by:  it at videinfra dot com
 Reported By:      it at videinfra dot com
 Status:           Bogus
 Bug Type:         MySQL related
 Operating System: W2K,WinXp, Win 2003 Srv
 PHP Version:      4.3.9
 New Comment:

I submit the same problem, because to my knowledge it is a bug in PHP,
a critical one that blocks us from the normal work. Could you please
explain how do you judge that this problem is not a bug in PHP? We
spent time checking the configuratiom and then conducting a series of
test to understand the problem before we submit a bug here. We got a
brief reply that the cause of the issue is the MySQL configuration.
That just couldn't be the case if you read my previous post carefully.


Previous Comments:
------------------------------------------------------------------------

[2004-11-08 20:29:19] [EMAIL PROTECTED]

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Duplicate of #30666.

------------------------------------------------------------------------

[2004-11-08 15:56:50] it at videinfra dot com

Description:
------------
I simultaneously run one, absolutely indentical script on two different
servers, one running Linux and another Windows. The script on both
machines connects to the remote MySQL server on another Linux machine.
The PHP script on Linux machine works fine, while the script on Windows
machine gives an error - Can't connect to MySQL server on '10.0.1.4'
(10048) - after a number of requests. 

I believe that this implies a bug in PHP on Windows, because as seen
from the test described above, MySQL connection limit COULD NOT BE THE
CAUSE, since the script on the Linux machine continues working with the
same database without any problem. Also, PHP configuration files on both
platforms are identical.

 

Reproduce code:
---------------
<?
$conn = mysql_connect ( '10.0.1.4', 'root', '') 
or die("Could not connect: " . mysql_error()); mysql_select_db('lub2',
$conn); $res = mysql_query("SELECT title FROM pages_lv0 WHERE id = 1",
$conn) 
or die("Invalid query: " . mysql_error()); 
mysql_close($conn);
echo "ok";
?>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30719&edit=1

Reply via email to