Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
When ORACLE forgotten password, supports the use of this machine can log in without a password
1, there are two ORACLE authentication methods:
. Common database user name and password authentication
. Operating system user through the operating system verified, you can log in directly
2, authentication provided
Configuration file sqlnet.ora, amended as follows:
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Note: set to ALL or NONE will not work
3, landing approach
sqlplus / as sysdba;
If the database is a multi-instance, to be set as follows oracle_sid
set oracle_sid = XX
sqlplus / as sysdba;