How to Make SQLcl to Read TNS_ADMIN environment variable
Last updated on JANUARY 02, 2018
Applies to:
Oracle SQL Developer - Version 4.2.0 and laterInformation in this document applies to any platform.
Goal
Oracle SQL Developer command line version 4.2 & above cannot identify TNS_ADMIN alias.
Trying to connect to the Oracle Database using below similar command, it fails to read TNS_ADMIN and throws exception:
Example:
SQL> connect scott/tiger@db12cr1
USER = scott
URL = jdbc:oracle:thin:@db12cr1:1521/db12cr1
Error message = I / O error: Unknown host specified
Solution
Sign In with your My Oracle Support account |
|
Don't have a My Oracle Support account? Click to get started |
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms