Database Networking (MOSC)

MOSC Banner

Connection through OCI

edited Nov 20, 2012 1:51AM in Database Networking (MOSC) 5 commentsAnswered
Hi ,

How to connect using OCI .

I am getting no listener error when trying to connect through oci.

istest1:1521/test

istest1 is the servername

test  is the sid name.

1521 is port.

EssOCI is initializing the connection to Oracle database on server [istest1:1521/test]

EssOCI failed to connect to Oracle database with error message [ORA-12541: TNS:no listener].

 what is the correct syntax to connect using OCI.

just for information I was able to connect jdbc oci with below syntax.

jdbc:oracle:oci:@istest1:1521:test

Regards,

Arun




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