ID: 13101
Updated by: cox
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Unknown/Other Function
Operating System: Windows 2000
PHP Version: 4.0.6
New Comment:

fixed in CVS, thanks.

Previous Comments:
------------------------------------------------------------------------

[2001-09-03 01:46:05] [EMAIL PROTECTED]

Using the MySQL PEAR DB classes, it is not possible to use 2 different databases 
within the same script, unless the Hostname and/or password to connect to each 
database are completely different.

I have implement a fix, which uses mysql_db_query() instead, and DB_mysql now holds 
the database name within itsself.

diff output is avaiable at http://www.blueroo.net/pear/DB/mysql030901.diff

However, I am unsure how to handle the detection of 'DB_ERROR_NODBSELECTED' in this 
instance

Hope this helps

Max

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13101&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to