|
|
|
|
Re: Username & Password for Oracle 9i [message #252372 is a reply to message #252331] |
Wed, 18 July 2007 13:09 |
sunil_v_mishra
Messages: 506 Registered: March 2005
|
Senior Member |
|
|
ORA-12560: TNS:protocol adapter error occurred
Cause of above error:-Oracle classify this as a ‘generic protocol adapter error’. In my experience it indicates that Oracle client does not know what instance to connect to or what TNS alias to use.
Possible Remedies:If running on the server (or workstation) that is running the database (i.e. if the database is local to the machine) then try explicitly setting ‘ORACLE_SID’. e.g.
set ORACLE_SID=<sid>
and then try again.
e.g if DB name is ORCL then on windows.
set ORACLE_SID=orcl
And if it is linux o/s then
export ORACLE_SID=orcl
better try to connect like as below
D:/>sqlplus "sys/<password>@sid as sysdba"
suppose password is strongbullin and orcl is sid(database name)
D:/>sqlplus "sys/strongbullin@orcl as sysdba"
|
|
|