Database Install/Upgrade/Opatch (MOSC)

MOSC Banner

fresh install of 12.2.0.1.0 - SQLPLUS can't see TNS file

edited Feb 6, 2019 8:25AM in Database Install/Upgrade/Opatch (MOSC) 2 commentsAnswered ✓

I am running Windows 10. I previously had Oracle 12.1.0 installed at C:/app/myusername/product/12.1.0 and SQLPLUS worked fine.  This was a full install of the RDBMS but I never ran a DB on it.

I installed Oracle 12.2.0.1.0 at C:/app/myusername/product/12.2.0.  This was the runtime client version. I couldn't find a tnsnames.ora file in it so I had to copy /Network/Admin/tnsnames.ora (file and directories) from the 12.1.0/dbhome_1  directory to the 12.2.0/client_1.

After I did that it worked fine for a while, but once I rebooted it doesn't work anymore and I get the "ORA-12154: TNS:could not resolve the connect identifier specified" error.

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