Jump to content

Multi tenant Application


dyaab

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...