You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when a connection uri specify just the TNSNAMES.ORA entry name (e.g. oracle://:@<tnsadmin_entry>), PREQL generates the root error: cx_Oracle.DatabaseError: ORA-12154: TNS:could not resolve the connect identifier specified
The problem is due to OracleInterface class that creates a wrong dns in the code at line 225:
In fact, using the TNSNAMES entry only, the host variable contains <tnsadmin_entry>, while the database variable is empty, hence the resulting dsn is corrupted with a trailing "/" that generates the error when the instant client searches the reference in TNSNAMES.ORA
The text was updated successfully, but these errors were encountered:
Hi,
when a connection uri specify just the TNSNAMES.ORA entry name (e.g. oracle://:@<tnsadmin_entry>), PREQL generates the root error:
cx_Oracle.DatabaseError: ORA-12154: TNS:could not resolve the connect identifier specified
The problem is due to
OracleInterface
class that creates a wrong dns in the code at line 225:In fact, using the TNSNAMES entry only, the
host
variable contains <tnsadmin_entry>, while thedatabase
variable is empty, hence the resultingdsn
is corrupted with a trailing "/" that generates the error when the instant client searches the reference in TNSNAMES.ORAThe text was updated successfully, but these errors were encountered: