dyaab Posted January 18, 2019 Share Posted January 18, 2019 Hello All, Is there any example that showing how to implement multi tenant Application -separate database- using unigui or any blog about this topic. My idea is : the end user connect to specific database based on given url, e.g. if i have two clients >>> Client1 & client2 each client should connect to it is Databse Based on his url client1 >> Client1.MyApplication.com and Client2 >>> Client2.MyApplication.com. Any Idea? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted January 18, 2019 Share Posted January 18, 2019 You can use URLParameters. Quote Link to comment Share on other sites More sharing options...
mierlp Posted January 18, 2019 Share Posted January 18, 2019 Hi I use (part of) this : https://www.getdonedone.com/building-the-optimal-user-database-model-for-your-application/ In one table i set some extra info like : - database name - database username - database password You create a login screen where the user can enter 3 things : - username - password - company ID Based on these 3 things he can login. The system search in the database for the companyID, knows which databaseNAME, databaseUSERNAME and databasePASSWORD is needed to login to the database. Regards Peter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.