morning mate, This might help you:
http://groups.google.com/group/cake-php/browse_thread/thread/f12ecdb3a6019d83/eeda91e311ec92dc?lnk=gst&q=database+dynamic&rnum=2#eeda91e311ec92dc cheers, mikee On 12/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi > > I am developing a website that has subdomains (one for each country). > The problem is each country has its own database. > > I can copy & rename the app folder for each country with their own > database settings. > > But that is a nightmare if a version upgrade happens. So I am looking > at an alternative to have the same app folder but load different > databases based on the subdomain. > > How can this be made possible ? > > Third option for me would be to merge all the databases and add country > code as prefix to the tables. This will enable me to query data from > different countries, but I am worried about the db load. (How much load > can the mySQL db stand?) > > Cheers > R > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
