Database Administration (MOSC)

MOSC Banner

TNS error when specifying databse name , else it's working fine without specifying database name

edited Aug 10, 2011 3:11AM in Database Administration (MOSC) 4 commentsAnswered
Hi team ,

I have installed oracle database 10g release and the default databse is ORCL .

When i am trying to connect to sql plus  with username/password only ..it's connecting

but the moment i am giving Host String as :- ORCL , its giving TNS error

my TNS entries are :--

ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = VKARAKOTI00134.us.nam.ad.pwcinternal.com)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )

Would be thankful if anyone can help me here.  I want to connect to databse thru Host_string

regards

Vijay

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