On 1/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I would like to configure multiple cakephp instances to use the same
mysql DB for writing and different (replicated)  DBs for reading. Is it

Switch DB in beforeSave and then back in afterSave (you can write this
in your app_model.php)

HTH
Tarique

--
=============================================================
PHP Applications for E-Biz: http://sanisoft.com
Cheesecake-Photoblog: http://cheesecake-photoblog.org
=============================================================

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to