Database Networking (MOSC)

MOSC Banner

SERVICE_NAME vs. SID in TNSNAMES.ORA

edited Jul 2, 2015 4:03AM in Database Networking (MOSC) 9 commentsAnswered ✓

I need to understand why I'm often facing the problem to adress an Oracle instance correctly.

Situation: I installed a 11.2.0.4 site recently with one instance (amd64 architecture), SID name ORCL, using the setup installer from the distribution. (Windows 2012R2 server)

On the client side I had instantclient_11_2 (32bit). In TNSNAMES.ORA I had to write SERVICE_NAME = orcl.intranet.de.

With this configuration I was able to connect from the client using SQLPlus.

Then I deleted the instance of the server and installed a new one using dbassist.

Gave it the name ORCL again.

Suddenly I was unable to connect using SQLPLus. (got ORA-12514)

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