Open Closed

Multi-Tenancy with different database #172


User avatar
0
vishalnikam created

Hi,

there is no option to add seperate database connection string here.. I want to add tenants with different database one with SQL server and other one with PostgreSQL. Could you please provide some guidance


3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

  • User Avatar
    0
    vishalnikam created

    I tried that option but it didnt create any database. Although it workes with shared database.

    Also does abp support tenenat with different database like 1 tenant with SQL and other one with Postgresql ? or need any implemenation to switch between database ?

  • User Avatar
    0
    alper created
    Support Team Director

    It can work but you need to create 2 seperate projects one for EF Core SQL provider and one for EF Core Postgresql. out of the box it doesn't support different providers in the same code-base. for your question, can you check the logs, maybe the host is unreacunreachable

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 14, 2025, 07:53