Oracle 11g database reset sys/system user and other passwords

1. Reset the sys password. Find the Oracle password location path as shown in the figure below.

 2. You can first backup and delete the PWDorcl.ora file, and then use the administrator to enter the command prompt and enter orapwd file=D:\ Oracle11g \product\11.2.0\dbhome_1\database\PWDorcl.ora.

 3. You can restart the service.

 4. Now the sys user can be used, enter SQL PLus.

 

5. Note that the login sys user name needs :sys as sysdba, password: (the password set in 2.). 

6. After entering this step, the problem is solved. You can change and unlock any user password such as the system user password.

ALTER USER SYSTEM IDENTIFIED BY your password;

ALTER USER SYSTEM ACCOUNT UNLOCK;

 7. Exit after operation. Repeat 3. Restart the service to test the user account. Note that the operation user SCOOT in the above figure, and the operation user SYSTEM are as shown in the figure below. 

 

Guess you like

Origin blog.csdn.net/weixin_60415789/article/details/132342110