#50433 [Opn]: mysql extensions don't work
| From: | rasmus@php.net | Date: | Thu, 24 Dec 2009 00:41:14 +0000 |
| Subject: | #50433 [Opn]: mysql extensions don't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-146078@lists.php.net to get a copy of this message | ||
ID: 50433
Updated by: rasmus@php.net
Reported By: darkdominiongr at gmail dot com
Status: Open
Bug Type: MySQL related
Operating System: win32 only - Windows 7 x64
PHP Version: 5.3.1
New Comment:
Is this the ipv6 ::1 localhost problem again?
Does it work if you connect to "127.0.0.1" instead of "localhost" ?
Previous Comments:
------------------------------------------------------------------------
[2009-12-24 00:25:20] ewal at pointpro dot nl
I can confirm this problem; first ran into it on a Windows 2008 R2
server x64 and then confirmed on a Windows 7 x64 machine. It does work
in 5.3.0.
------------------------------------------------------------------------
[2009-12-14 21:50:57] SKJoy2001 at InBox dot Com
System: Intel Core i7 with 2x3 DDR III
OS: Microsoft Windows 7 Ultimate
Web server: IIS 7.5
PHP: 5.3.1 (CGI)
PHPMyAdmin fails to load but the native 'mysql_connect' &
'mysql_select_db' is working fine on test scripts.
------------------------------------------------------------------------
[2009-12-12 19:01:41] darkdominiongr at gmail dot com
Can someone verify this on a Windows server?
------------------------------------------------------------------------
[2009-12-10 07:03:06] jani@php.net
Some windows issue, on *nix everything works just fine.
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/50433
--
Edit this bug report at http://bugs.php.net/?id=50433&edit=1