Starts in:
0 DAY
7 HRS
36 MIN
21 SEC
Starts in:
0 D
7 H
36 M
21 S
Open Closed

What is the best way to connect with AWS RDS Postgres #4391


User avatar
0
mian.tayyab@innoppia.pk created

Hi Support Team,

We are saving tenant connection string like this "Host={0};Port={1};User ID={2};Database=TenantDB-{4};Password={3}" We don't want to keep those information into database. We want to replace it at runtime.

I tried to change it in RDSMultiTenantConnectionStringResolver and ConnectionResolver

What is best way and point to change those host, port, user and password values?.

Prompt response will be appreciated.

Thanks


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can replace the MultiTenantConnectionStringResolver.

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.MultiTenancy/Volo/Abp/MultiTenancy/MultiTenantConnectionStringResolver.cs#L12

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06