DataObject - Multiple Databases
| From: | Mike Carter | Date: | Wed, 18 Dec 2002 10:48:55 +0000 |
| Subject: | DataObject - Multiple Databases | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3034@lists.php.net to get a copy of this message | ||
Hi All,
I've not found anything in the list archive so I presume this question
has not been asked before.
I'm having trouble getting DataObjects to work with multiple databases.
In my database configuration .ini file which pass to createTables.php I
have two databases defined with database_db1 and database_db2 as
mentioned in the documentation.
However having "database_db1" rather than just "database" causes
problems when DataObjects not being able to suss out the DSN, thus
failing to include the right low-level database layer from DB/.php.
So, my question is how do youreally work with multiple Databases via
DataObjects? Or is it a bug in the current CVS version 1.47 ?
Regards,
--
Mike Carter [web developer]
tel: 01925 758229 // fax: 01925 758023 // web: www.koa.uk.com
This message is confidential.
Unless you are the named addressee or their delegated representative you
may not use, disclose, or copy the contents of the e-mail. If you are
not the named addressee please notify the sender immediately and delete
the material from your computer. Any views or opinions contained in this
e-mail are solely those of the author unless expressly stated otherwise