1. 程式人生 > >oracle 11g 忘記預設使用者密碼的處理方法

oracle 11g 忘記預設使用者密碼的處理方法

1.啟動sqlplus 
2.請輸入使用者名稱:  sqlplus/as sysdba 
3.輸入口令: 直接回車 
(說明:對於sys無論鎖與不鎖都能本地認證登陸成sysdba)
4.連線到: 
   Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production 
   With the Partitioning, OLAP, Data Mining and Real Application Testing options 
   SQL>alter user sys identified by admin; 
  使用者已更改。 
(說明:更改使用者sys 密碼為admin)
  SQL> conn sys/admin as sysdba; 
  已連線。 
  SQL> alter user system identified by manager; 
(說明:更改使用者system 密碼為manager)
  使用者已更改。 
  就搞定啦!