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

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

Hope this helps

Edit bug report at:

PHP Development Mailing List <>
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