From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.0.6
PHP Bug Type:     Unknown/Other Function
Bug description:  PEAR mysql DB selection problem

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 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