ID: 50433
Updated by: [email protected]
Reported By: darkdominiongr at gmail dot com
Status: Open
Bug Type: MySQL related
-Operating System: Windows 7 x64
+Operating System: win32 only - Windows 7 x64
PHP Version: 5.3.1
New Comment:
Some windows issue, on *nix everything works just fine.
Previous Comments:
------------------------------------------------------------------------
[2009-12-09 23:13:59] darkdominiongr at gmail dot com
<?php
$host = "******";
$username = "******";
$password = "******";
mysql_connect("$host","$username","$password") or die("couldn't
establish connection: " . mysql_error());
echo "Connected to MySQL";
?>
When i try this code in php 5.3.0 i get the "connected to mysql"
message correctly. But when i try it on 5.3.1 i get the following
message.
couldn't establish connection: A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond.
------------------------------------------------------------------------
[2009-12-09 21:54:08] [email protected]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2009-12-09 21:31:46] darkdominiongr at gmail dot com
Description:
------------
The mysql extensions for PHP 5.3.1 don't work. I never had a problem
with PHP 5.3.0 but when i upgraded to 5.3.1. i couldn't use the mysql
functions.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50433&edit=1