Bug #18360 Updated: Can't connect to database with an alias dns

From: Date: Tue, 16 Jul 2002 10:46:38 +0000
Subject: Bug #18360 Updated: Can't connect to database with an alias dns
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7741@lists.php.net to get a copy of this message
ID: 18360 Updated by: cox@php.net Reported By: vania@fe.up.pt -Status: Open +Status: Bogus Bug Type: PEAR related Operating System: Win 2K PHP Version: 4.2.0 New Comment: For getting support about how to use PEAR libraries please go to http://pear.php.net/support.php. Btw you could try to read the output of: <?php require_once 'DB.php'; $dsn="xxx"; print_r(DB::connect($dsn)); ?> As I said, until you don't provide specific data on where something fails or how to reproduce the problem, please do not use the bug system. Tomas V.V.Cox Previous Comments: ------------------------------------------------------------------------ [2002-07-15 14:25:04] vania@fe.up.pt I'm using PHP 4.2.0 with PEAR and IIS. Using PEAR DB I can't connect to a MSSQL database using an alias dns for the host param in $dsn. From that machine if I make a ping to that alias I get a reply, so I think it's not a network problem. With a similar script in ASP it easily connects to database with this alias, so it might be a PEAR bug. Thanks. Vânia ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18360&edit=1

« previous php.pear.dev (#7741) next »