Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cannot connect to oracle database ORA-12154

ANNECApr 20 2022 — edited Apr 20 2022

I created two oracle instances on a windows machine 19c.
And then I tried to connect remotely, or even locally using easy connect:
sqlplus system/mypassword@'servername.mydomain:1521/testo.mydomain'
I got an error :
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
I cannot figure out why. I have two database instances on the remote computer, one is called testO, the other devO on same port 1251. they are all up running.
I can connect on the local server itself when using sqlplus / as sysadmin
what could be wrong?

Thanks,

This post has been answered by User_GSQTY on Apr 20 2022
Jump to Answer
Comments
Post Details
Added on Apr 20 2022
10 comments
1,964 views