Re: Interbase/Firebird DSN

From: Date: Wed, 26 Jun 2002 08:44:37 +0000
Subject: Re: Interbase/Firebird DSN
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1763@lists.php.net to get a copy of this message
Isi Alejandro Garcia wrote: > > Hi everbody > > I have a newby question on PEAR and Interbase > I'm trying to create a DSN in Windows like this > > dsn => "ibase://myuser:mypassword@localhost/C:/MYPATH/MYDATABASE.GDB" > > But I can't connect so I suspect that my DSN > is incorrect It's correct, well if Windows accept "/" as dir separator. Btw use the firebird syntax so: ibase(firebird)://... > Can any body give me some advice on this?? If you don't show us more info not. Try: <?php require_once 'DB.php'; $db = DB::connect('ibase(firebird)...'); print_r($db); ?> Regards, Tomas V.V.Cox

« previous php.pear.general (#1763) next »