juniper911
Technical User
Hi I am a complete n00b to sqlplus/Oracle but I have a user who is trying to connect to an oracle db from command line.
He is getting unable to resolve service names error message. After much googling , checking TNS_ADMIN variable, checking the sqlnet.ora and tnsnames.ora files I cannot see anything wrong.
I wanted to know if its possible to connect using sqlplus to the database if I specified all the information in the query. I found in this potential fix
sqlplus sys/password@//server:1521/orcl as sysdba
However as stated earlier, I am new to this so not sure that some of the placeholders are instead of...
I just need to know what sys and orcl as sysdba are and if they need to be substitued. Also is this expression valid?
The other wierd thing is that the user can connect using the sql plus client to the same database.
Much appreciated for any help.
He is getting unable to resolve service names error message. After much googling , checking TNS_ADMIN variable, checking the sqlnet.ora and tnsnames.ora files I cannot see anything wrong.
I wanted to know if its possible to connect using sqlplus to the database if I specified all the information in the query. I found in this potential fix
sqlplus sys/password@//server:1521/orcl as sysdba
However as stated earlier, I am new to this so not sure that some of the placeholders are instead of...
I just need to know what sys and orcl as sysdba are and if they need to be substitued. Also is this expression valid?
The other wierd thing is that the user can connect using the sql plus client to the same database.
Much appreciated for any help.