#39549 [Opn->Bgs]: Cannot connect to remote databases
| From: | tony2001@php.net | Date: | Fri, 17 Nov 2006 19:11:09 +0000 |
| Subject: | #39549 [Opn->Bgs]: Cannot connect to remote databases | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105161@lists.php.net to get a copy of this message | ||
ID: 39549
Updated by: tony2001@php.net
Reported By: rob at beagrie dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Windows Vista RC2
PHP Version: 5.2.0
New Comment:
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. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-11-17 18:28:26] rob at beagrie dot com
Description:
------------
mysql_connect fails to connect to any remote MySQL databases under
Vista RC2 running PHP 5.2 and apache 2.2 (even with all firewalls etc
turned off), but the same script works on XP and will connect to
localhost. Bug also reported (by someone else) at the MySQL bug
database: http://bugs.mysql.com/bug.php?id=24212
Seems likely to be a security issue in vista but I thought I should
flag it up since it could become a problem once more people start to
switch.
Reproduce code:
---------------
if ($sdbc = mysql_connect($host, $user, $pass)) {
echo "database selected";
} else {
echo"Could not connect to MySQL!<br />MySQL Error: " . mysql_error();
}
Expected result:
----------------
database selected
Actual result:
--------------
Warning: mysql_connect() [function.mysql-connect]: Can't connect to
MySQL server on '****' (10060) in **** on line 16
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39549&edit=1