Skip to content

How to use different Oracle wallets to connect to different databases? #389

@dmitrypol

Description

@dmitrypol

I have wallet creds for my OCI ATP and ADW instances. I am able to connect to one or the other from my Python app by specifying TNS_ADMIN and WALLET_LOCATION Here is my connection:

ORCL_CONN = cx_Oracle.connect(ORCL_USER, ORCL_PASSWORD, dsn='...', encoding='UTF-8')

But does anyone have experience connecting to 2 Oracle servers via 2 separate connections with 2 wallets? How can I tell cx_Oracle to use specific wallet? Even if I combine connection strings from 2 different tnsnames.ora files I still need to have separate cwallet.sso files (edited)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions