r/DatabaseHelp • • Oct 18 '17

Oracle Database Help :(

Hey /r/databasehelp,

I'm new to oracle (D-OH!). Setting up an Oracle listener i'm noticing 2 things:

  • The listener status is showing Unknown.
  • When I try to log into SQL, I'm receiving the error: 'TNS:could not resolve the connect identifier specified'.
1 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Oct 19 '17

My appologize,

I'm a noob to Oracle DB. I'm guessing the changes are made in the listener file?

1

u/wolf2600 Oct 19 '17

When you open sqlplus, instead of using the db's alias ('protect' or whatever), enter the IP instead. That way SQLPlus will connect directly to the IP without going through the tnsnames file to try to interpret the alias.

sqlplus user/password@//hostname:port/service_name