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 later
Information in this document applies to any platform.
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:
SQL> connect scott/tiger@db12cr1
USER = scott
URL = jdbc:oracle:thin:@db12cr1:1521/db12cr1
Error message = I / O error: Unknown host specified
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms