<b>Oracle</b><b>資料庫 ORA-28000 錯誤處理方式</b>
ORA-28000: the account is locked-的解決辦法
ORA-28000: the account is locked
第一步:使用PL/SQL,登入名為system,資料庫名稱不變,選擇類型的時候把Normal修改為Sysdba;
第二步:選擇myjob,檢視users;
第三步:選擇system,右擊點選“編輯”;
第四步:修改密碼,把“帳戶被鎖住”的勾去掉;
第五步:點選“應用”再點選“關閉”;
第六步:重新登入就可以通過驗證了;
第二種
ALTER USER username ACCOUNT UNLOCK;
第三種
在plsql developer中要是以scott/tiger登入時提示ora-28000 the account is locked。
解決辦法:
新裝完Oracle10g後,用scott/tiger測試,會出現以下錯誤提示:
oracle10g the account is locked
oracle10g the password has expired
原因:預設Oracle10g的scott不能登陸。
解決:
(1)conn sys/sys as sysdba; //以DBA的身份登入
(2)alter user scott account unlock;// 然後解鎖
(3)conn scott/tiger //彈出一個修改密碼的對話框,修改一下密碼就可以了
在運作裡面輸入cmd在DOS模式下輸入sqlplus,以system使用者名登入,密碼是剛裝oracle時自己填寫的密碼orcl,登入進去以後。
SQL> conn sys/sys as sysdba; (分号是必須的但是我是以system登入的所在這不應該寫conn sys/sys as sysdba應該寫conn system/orcl as sysdba;)
Connected.
SQL> alter user scott account unlock;
User altered.
SQL> commit;
Commit complete.
SQL> conn scott/tiger//請輸入新密碼,并确認後OK
Password changed
Connected.
這時再到plsql developer裡面以scott/tiger登入就可以了。。。。。
Oracle 10g 預設安裝帶來的使用者名/密碼
Username
Password
Description
See Also
CTXSYS
The Oracle Text account
Oracle Text Reference
DBSNMP
The account used by the Management Agent component of Oracle Enterprise Manager to monitor and manage the database
Oracle Enterprise Manager Grid Control Installation and Basic Configuration
LBACSYS
The Oracle Label Security administrator account
Oracle Label Security Administrator's Guide
MDDATA
The schema used by Oracle Spatial for storing Geocoder and router data
Oracle Spatial User's Guide and Reference
MDSYS
The Oracle Spatial and Oracle interMedia Locator administrator account
DMSYS
The Oracle Data Mining account.
Oracle Data Mining Administrator's Guide
Oracle Data Mining Concepts
OLAPSYS
MANAGER
The account used to create OLAP metadata structures. It owns the OLAP Catalog (CWMLite).
Oracle OLAP Application Developer's Guide
ORDPLUGINS
The Oracle interMedia user. Plug-ins supplied by Oracle and third party format plug-ins are installed in this schema.
Oracle interMedia User's Guide
ORDSYS
The Oracle interMedia administrator account
OUTLN
The account that supports plan stability. Plan stability enables you to maintain the same execution plans for the same SQL statements. OUTLN acts as a role to
centrally manage metadata associated with stored outlines.
Oracle Database Performance Tuning Guide
SI_INFORMTN_SCHEMA
The account that stores the information views for the SQL/MM Still Image Standard
SYS
CHANGE_ON_INSTALL
The account used to perform database administration tasks
Oracle Database Administrator's Guide
SYSMAN
The account used to perform Oracle Enterprise Manager database administration tasks. Note that SYS and SYSTEM can also perform these tasks.
SYSTEM
Another account used to perform database administration tasks
本文轉自 holy2009 51CTO部落格,原文連結:http://blog.51cto.com/holy2010/846386