magento
asked on
Sqlplus doubt
Hi,
Oracle 9:
When i type sqlplus in command line and enter username and password, i can able to login in.
When i type sqlplus username@instance , it ask for password , when i type password it throws error .
Error: ORA-12154 ``TNS:could not resolve service name"
Please help me understand why it occurs , i googled but dont understand what they trying to convey.
Thanks
Oracle 9:
When i type sqlplus in command line and enter username and password, i can able to login in.
When i type sqlplus username@instance , it ask for password , when i type password it throws error .
Error: ORA-12154 ``TNS:could not resolve service name"
Please help me understand why it occurs , i googled but dont understand what they trying to convey.
Thanks
Try to see if you are able to ping the IP of Oracle database server machine.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
assuming windows here ...
you might have script on your computer like this
sqlplus.cmd
what happens if you type sqlplus without any parameters ?
can you see the header of sqlplus ?
and then enter user@alias
and password
and then what happens ?
you might have script on your computer like this
sqlplus.cmd
toad %1 %2 %3 %4
what happens if you type sqlplus without any parameters ?
can you see the header of sqlplus ?
and then enter user@alias
and password
and then what happens ?