Skip to content

create connection with oracle wallet #233

Closed Answered by anthony-tuininga
hphan10 asked this question in Q&A
Discussion options

You must be logged in to vote

Thin mode (the default) does not support external authentication which is what you are showing here. You need to add this line before calling oracledb.connect(dsn="DSN NAME"):

oracledb.init_oracle_client()

This enables thick mode which is what cx_Oracle used. At that point your program should work the same way it did before!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cjbj
Comment options

cjbj Sep 26, 2023
Maintainer

@hphan10
Comment options

Answer selected by cjbj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants