Re: PEAR DB Connection question

From: Date: Tue, 23 Jul 2002 11:05:21 +0000
Subject: Re: PEAR DB Connection question
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1961@lists.php.net to get a copy of this message
"Timothy M. Crider" wrote: > > Hey guys, > > I tried to connect to a MySQL DB via DB::connect and I found that I > needed to put a database at the end of the dsn in order for it to connect. > All I wanted to do however was run the query SHOW DATABASES, and dump them > quietly. Should this require me to pick a database in order to establish a > connection or should this be changed to compensate for a user running > queries against MySQL that don't require a database? > If you use PEAR DB 1.3 there is no need to specify a database for MySQL. Tomas V.V.Cox

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