Re: How to connect multiple databases?

2008-01-14 Thread majna

http://groups.google.com/group/cake-php/search?group=cake-php&q=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 config/database.php file. Is this possible
> in CakePHP? if yes, please tell me detail, how I can get connect
> database dynamically.
>
> Thanks a lot,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 a lot,

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 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 connection with a unique database & then have to connect
> with different data bases. Is this possible with CakePHP? If yes,
> please explain in detail. If not then I should use some other
> framework.
>
> Thanks,

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 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 connection with a unique database & then have to connect
> with different data bases. Is this possible with CakePHP?
Yes
what did you try ? it didnt work ?

>If yes,
> please explain in detail.
if you want to be 'explained in detail' then maybe think about paying
someone that can explain this to you ?

>If not then I should use some other
> framework.
Please - no ;)

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

Marcin Domanski aka kabturek,
http://tumble.kabturek.info

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 connection with a unique database & then have to connect
with different data bases. Is this possible with CakePHP? If yes,
please explain in detail. If not then I should use some other
framework.

Thanks,

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---