How to connect multiple databases?

2008-01-14 Thread ali
How I can connect with dynamic multiple databases on run time, when I get list of data base on run time I want to connect to those databases which are not in config/database.php file. Is this possible in CakePHP? if yes, please tell me detail, how I can get connect database dynamically. Thanks

Re: How to connect multiple databases?

2008-01-14 Thread majna
http://groups.google.com/group/cake-php/search?group=cake-phpq=multiple+databases On Jan 14, 7:03 am, ali [EMAIL PROTECTED] wrote: How I can connect with dynamic multiple databases on run time, when I get list of data base on run time I want to connect to those databases which are not in

How to connect multiple databases?

2008-01-11 Thread ali
I am new with CakePHP. I have to query different database dynamically. the number of data base is not known, it might be 10 or 100 or 1000. The name connection will be stored in single unique data base then depending on the data base I have to fetch data from different data bases. So I have a

Re: How to connect multiple databases?

2008-01-11 Thread [EMAIL PROTECTED]
I just did this myself yesterday using the example in this thread: http://groups.google.com/group/cake-php/browse_thread/thread/3138f1e67c17e62 -Larry Truett http://www.LarryTruett.com On Jan 11, 5:23 am, ali [EMAIL PROTECTED] wrote: I am new with CakePHP. I have to query different database

Re: How to connect multiple databases?

2008-01-11 Thread Marcin Domanski aka kabturek
Hey Did you search the group ? , really its on Google - i would think that the search feature is at least good. People tend to think their problem is *so* special. On Jan 11, 2:23 pm, ali [EMAIL PROTECTED] wrote: I am new with CakePHP. I have to query different database dynamically. the number