CodeIgniter Forums
Saas application - Every Tenant User have own database - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Saas application - Every Tenant User have own database (/thread-53454.html)



Saas application - Every Tenant User have own database - El Forum - 07-24-2012

[eluser]Unknown[/eluser]
I want to create a Multi-tenant(Saas)Application,where i want to give a choice to user.
1-where every register tenant user have own db.
2-where every register tenant user have own table in db.

How i can achieve this. In case of first choice how i can authenticate user and redirect to there seaprate db.