My Oracle Support Banner

How to Make SQLcl to Read TNS_ADMIN environment variable (Doc ID 2343404.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle SQL Developer - Version 4.2.0 and later
Information 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

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.