Replies: 1 comment 4 replies
-
For multiple wallets in general see oracle/python-cx_Oracle#485 (comment) In thick mode, I advise using 21c for this; I've never managed to convince the powers-that-be to backport some fixes for multiple wallet support. I will look at the specific of setting behavior later. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to connect to a DB using a wallet. To do this I use the 'thick mode', and provide the wallet_location when calling oracledb.connect:
This fails with
However, if I set the environment variable TNS_ADMIN to the same value as the wallet_dir variable, before launching the script the connection is created ok.
What I'm trying to do is connecting to several DBs from within 1 script, with each DB having its own wallet. So setting TNS_ADMIN in the environment is not a solution.
What am I doing wrong in opening a connection, using a wallet_location?
Many thanks, regards,
JohnvdL
Beta Was this translation helpful? Give feedback.
All reactions