I forgot the password for SYS of two databases (Oracle 11 g) running on the same PC

Hi all
I have 5 db to create on my pc, namely...

oracle1
Oracle2
oracle3
oracle4
oracle5

Note: these db were created in the same order.

I forgot password of sys to oracle4 and oracle5 of the db.
If I'm under method change sys password:
"sqlplus/nolog '.
Conn virtue sysdba
alter user sys identified by < password >; " ,

I'm always change password for sys to oracle5 db.
How to change the password for the sys to oracle4 db?

Thank you.
Advertisement

under HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb11g_home3--> oracle_sid = oracle3
\KEY_OraDb11g_home2--> oracle_sid = oracle2
\KEY_OraDb11g_home1--> oracle_sid = oracle1

Well, you obviously have (at least) 3 separate installations of Oracle 11 g.

In addition to the set the ORACLE_SID, you also need to set the ORACLE_HOME:

set ORACLE_SID=oracle2
set ORACLE_HOME=

If this does not work, copy / paste the commands you've tried and the error you get.

Tags: Database

Similar Questions

Maybe you are looking for