Database Administration (MOSC)

MOSC Banner

SQLcl error on connecting to DB

edited May 20, 2020 3:34PM in Database Administration (MOSC) 1 commentAnswered ✓

Hi All

I am traying to connect using SQLcl 19.4 to my oracle DB 11.2.0.4 and I am getting error (no ocijdbc19 in java.library.path), please help

I am using this command, also I try without -oci

sql -oci

SQLcl: Release 19.4 Production on Wed May 20 22:05:59 2020Copyright (c) 1982, 2020, Oracle.  All rights reserved.Username? (''?) myuser@mydbPassword? (**********?) ****************  USER          = myuser  URL           = jdbc:oracle:oci8:@mydb  Error Message = no ocijdbc19 in java.library.path  USER          = myuser  URL           = jdbc:oracle:thin:@mydb  Error Message = IO Error: Unknown host specified  USER          = myuser  URL           = jdbc:oracle:thin:@mydb:1521/mydb  Error Message = IO Error: Unknown host specifiedUsername? (RETRYING) ('myuser/*********

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center