-
I am unable to connect to Oracle. I am using Connector X v. 0.2.1a1 According to the connectorx instructions i need to have Using my above creds, I have When I run I receive RuntimeError: timed out waiting for connection: OCI Error: ORA-01017: invalid username/password; logon denied How do I connect conncetorx with Oracle? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
Hi @abel-diaz , I believe your connection string and the way you invoke Our connection string should look like: oracle://${ORACLE_USER}:${ORACLE_PASSWORD}@${ORACLE_HOST}:${ORACLE_PORT}/${ORACLE_DB} , which is different from using Do you have any special characters in your username or password? I'm wondering maybe the issue is in the url parsing and some strings need to be quoted. |
Beta Was this translation helpful? Give feedback.
-
Hi, and the output for cstr is similar to below with example creds When i try I am met with I am really hoping this gets connected. It takes me 1hr and 40min to pull 3M rows of SQL to DF using pd.read_sql. Thanks for all the help. I have confirmed all my creds are correct through my companies DBA team and thru successful connections in TOAD, cx_oracle, and sqlAlchemy. Thank you again |
Beta Was this translation helpful? Give feedback.
Hi,
I tried (with actual creds)
cstr = f"oracle://{urllib.parse.quote_plus('myname[text]')}:{urllib.parse.quote_plus('zoo^1234')}@hostname.hostsite.com:1234/dbprod"
and the output for cstr is similar to below with example creds
'oracle://myname%5Btext%5D:zoo%[email protected]:1234/dbprod'
When i try
df = cx.read_sql(cstr,query)
I am met with
Error: ORA-01017: invalid username/password; logon denied
I am really hoping this gets connected. It takes me 1hr and 40min to pull 3M rows of SQL to DF using pd.read_sql.
Thanks for all the help. I have confirmed all my creds are correct through my companies DBA team and thru successful connections in TOAD, cx_oracle, and sqlAlchemy.
Thank…