Hi everybody,
Looking for an explanation.
I can connect to a PDB from sql developer using a local user without problems using service name orclbdb. That works as expected
When I try to connect to the same PDB using the command: "sqlplus username/password@//localhost/orclpdb" I connect successfully. All OK
but if I use the command: "sqlplus username/password@orclpdb" I get the error: ORA-12154: TNS:could not resolve the connect identifier specified
I would like to know why the second form is not working. Why I need to include the hostname? A video tutorial I saw used the second form and worked. What I'm missing?
I'm very new to Oracle and will really appreciate an explanation/solution.