Dynamically changing database connectio

4 posts by 4 authors in: Forums > CMS Builder
Last Post: October 15, 2012   (RSS)

By vl4899 - May 16, 2012

I would like to use the same codebase for a number of clients, but rather than having separate instances of code and database, I'd like to use one code base and multiple databases. How could I switch between databases dynamically?

Volodymyr

Re: [vl4899] Dynamically changing database connectio

By Damon - May 16, 2012

Hi Volodymyr,

CMS Builder works with one database with each installation. To use multiple databases would require multiple installations and multiple licenses.

Can you provide some more details about what you are trying to accomplish and I may be able to suggest some alternative solutions.

Thanks!
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [ispro] Dynamically changing database connectio

By Jason - October 15, 2012

Hi Volodymyr,

Currently CMS Builder doesn't support this type of configuration. One approach, if all your clients were on the same server, is to have common functions that are included on all of your client pages. You can then use local CMS Builder functions to retrieve records, these records could then be passed to one of your common functions for manipulation if required.

Hope this helps,
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/