DB::MySQL
| From: | Uli Suppa | Date: | Mon, 10 Jun 2002 13:22:55 +0000 |
| Subject: | DB::MySQL | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-6879@lists.php.net to get a copy of this message | ||
Hi Guys,
i got a suggestion for this class, because it is possible to connect do the
db server without selecting a database,
i want to query the server to list all available databases and then select
one to connect to.
i've done this by getListOf("databases"), but this only works, if we are
connected to a db. i commented out
if (!@mysql_select_db($this->_db, $this->connection)) {
return $this->mysqlRaiseError(DB_ERROR_NODBSELECTED);
in mysql.php function simpleQuery().
could we change something there ?
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com