Re: [DB] connection to database

From: Date: Thu, 11 Sep 2003 21:56:27 +0000
Subject: Re: [DB] connection to database
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7750@lists.php.net to get a copy of this message
El Jue 11 Sep 2003 13:47, phpCoder escribió: > I've seen on pear website that there is few possibility to connect to a > database using the $dsn variable. > I would like to know if it's possible to use DB while I can't specify the > Hostname. > Why ? because my provider don't allow me that thing. The database is hosted > on localhost but if i specify Localhost > the connection is impossible. > > When I use phpPGadmin in the header i can see : "hosted on :5432" whereas > we usually see "hosted on hostname:5432" It's using socket connection, not TCP/IP. I don't know how to do this with PEAR::DB. -- 18:55:01 up 20 days, 10:45, 7 users, load average: 0.11, 0.17, 0.09 ----------------------------------------------------------------- Martín Marqués | mmarques@unl.edu.ar Programador, Administrador, DBA | Centro de Telematica Universidad Nacional del Litoral -----------------------------------------------------------------

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