The app/config/database.php can define any number of database connections - the $test connection is just there as an example. So, define whatever other ones you want (with any variable name), then use that variable name in your model, with var $useDbConfig.
app/config/database.php var $emails = array('driver' => 'mysql','connect' => 'mysql_connect','host' => 'localhost','login' => '','password' => '','database' => 'my_app'); in app/models/post.php var $useDbConfig = 'emails'; --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---