Hi guys,

To connect to a database, I have 2 hostnames which can be connected
to. Both of them carry the same data. Basically they're used to
balance the load. I can set the data source to any one of them. I'm
able to do that.

However, my problem is that, in case any of the hosts go down, I
should be able to connect immediately to the other one. I mean how do
I overload the app_model.php in such a way, that I should know
immediately that the connection didn't get established, and I should
connect to the other host.

Can anybody help me with this?

regards,
Rishab

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to