look here: https://www.google.com/search?q=cakephp+useDbConfig
Andras Kende On Jul 3, 2014, at 2:53 AM, tuan kim <[email protected]> wrote: > hi there, > Can you tell more details. > I'm not sure about your answer. Thanks ! > > > Vào 16:34:57 UTC+7 Thứ năm, ngày 03 tháng bảy năm 2014, Stephen S đã viết: > You can define both database configurations in your database.php config file, > then in your models you may specify which database to use by adding the var > $useDbConfig = 'databaseConfigName' property. > > > > > On 3 July 2014 04:43, tuan kim <[email protected]> wrote: > hi there, > I have a problem. I have 2 webiste with 2 database seperately, but they run > on one server. I have one database to store user information, and one > database store others information (news, product...). Now I want to use > multi database so I can access user information form the other website. So > can you tell me how to use multi database in CakePHP 1.3 > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/d/optout. > > > > -- > Kind Regards > Stephen Speakman > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/d/optout. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
