avi
Level J
I have installed successfully from the link :
Samushka: Installing Oracle SQL*Plus in Ubuntu
But he said :
What I have to enter in it ?
sqlplus /nolog is working. But when I enter sqlplus & give username : scott & password : tiger, it gives me following error :
I assume it's because of empty tnsnames.ora file. So what I have to write in that file ?
And also I have these two lines to ~/.bashrc
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib
export TNS_ADMIN=~
I need to add ORACLE_SID also right ? What should be it's value ?
Thanks in advance
PS - I am total n00b in oracle
Samushka: Installing Oracle SQL*Plus in Ubuntu
But he said :
Go ahead and enter your favorite connections into it.
gedit ~/tnsnames.ora
What I have to enter in it ?
sqlplus /nolog is working. But when I enter sqlplus & give username : scott & password : tiger, it gives me following error :
ERROR:
ORA-12545: Connect failed because target host or object does not exist
I assume it's because of empty tnsnames.ora file. So what I have to write in that file ?
And also I have these two lines to ~/.bashrc
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib
export TNS_ADMIN=~
I need to add ORACLE_SID also right ? What should be it's value ?
Thanks in advance
PS - I am total n00b in oracle