Set up multiple database connections in database.php. http://book.cakephp.org/view/40/Database-Configuration
Configure your models to use the appropriate connection. http://book.cakephp.org/view/435/useDbConfig The associations between models work exactly the same, no extra work needed. On 8 Oct 2008, at 17:06, [EMAIL PROTECTED] wrote: > > Hi > I have read many posts about "How make associations between models on > different database" > but I have not yet understood how can I do this. > Can someone explain how I can do this for all type of associations (in > particular for HABTM)? > Many thanks > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---