Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am working on a SF2 project and I need to manage multi-tenant databases. For example, when one user signup for the plan, I need to create new database for that use like [USER_NAME]_db.

I have searched a bit but I come across are how to manage dynamic database connection.

Please suggest me a way around for achieving the solution.

Not including search URL or other code snippet does not mean I have not done researched on this topic. In fact after Googling for more than 2hrs I have posted the comment.

share|improve this question
2  
I really advice reconsider your approach. The one you've chosen will bring you many problems: schema migrations, data processing, abstraction storage layer etc. Is there any specific reason/requirement, that you decide create database per user? –  Cyprian 17 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.