New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue Connecting to Oracle #420
Comments
Hi @ciollid2 , is your servername has special characters, if so maybe urlencode your servername? Also are you using the newest version? |
Thanks for the quick reply |
That's weird, the error message does implies that the server cannot be reached. Can you confirm that the |
Hello, My SQLAlchemy connection to our Oracle DB does not work formatted without the make_dsn information. Is it possible the (PROTOCOL=TCP) is required and not being passed? I am not too knowledgeable when it comes to networking. Thanks |
I think Can you try to use command line like sqlplus ${ORACLE_USER}/${ORACLE_PASSWORD}@${ORACLE_HOST}:${ORACLE_PORT}/${ORACLE_DB} |
The sqlplus template you provided did not work for me, however I could connect with the following format: Thanks |
I think the reason for this should be the same with using connectorx, which to me seems like your instance cannot be reached using |
Alright, I will see if I can figure out why I cannot use that connection string. |
Hello,
I am having an issue with the connection string required by connectorx.readsql().
I am using the template suggested by the documentation: 'oracle://username:password@server:port/database'
However, I get the error: ORA-12154: TNS:could not resolve the connect identifier specified
I can connect to this same Oracle DB through SQLAlchemy by using the following connection string:
oracle+cx_oracle://{user}:{password}@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST={host})(PORT={port}))(CONNECT_DATA=(SERVICE_NAME={service_name}))
The portion of the string after the '@' is generated by the cx_Oracle.make_dsn function. My username & password contain only alphanumeric characters.
Any help would be greatly appreciated. This package seems to have a ton of potential and I'm excited to try it out.
The text was updated successfully, but these errors were encountered: