ORA-28000: the account is locked-的解決辦法程序員
ORA-28000: the account is lockedsql
第一步:使用PL/SQL,登陸名爲system,數據庫名稱不變,選擇類型的時候把Normal修改成Sysdba;數據庫
第二步:選擇myjob,查看users;oracle
第三步:選擇system,右擊點擊「編輯」;ide
第四步:修改密碼,把「賬戶被鎖住」的勾去掉;測試
第五步:點擊「應用」再點擊「關閉」;ui
第六步:從新登陸就能夠經過驗證了;this
第二種code
ALTER USER username ACCOUNT UNLOCK;component
第三種
在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
CTXSYS
The Oracle Text account
Oracle Text Reference
DBSNMP
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
LBACSYS
The Oracle Label Security administrator account
Oracle Label Security Administrator's Guide
MDDATA
MDDATA
The schema used by Oracle Spatial for storing Geocoder and router data
Oracle Spatial User's Guide and Reference
MDSYS
MDSYS
The Oracle Spatial and Oracle interMedia Locator administrator account
Oracle Spatial User's Guide and Reference
DMSYS
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
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
ORDSYS
The Oracle interMedia administrator account
Oracle interMedia User's Guide
OUTLN
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
SI_INFORMTN_SCHEMA
The account that stores the information views for the SQL/MM Still Image Standard
Oracle interMedia User's Guide
SYS
CHANGE_ON_INSTALL
The account used to perform database administration tasks
Oracle Database Administrator's Guide
SYSMAN
CHANGE_ON_INSTALL
The account used to perform Oracle Enterprise Manager database administration tasks. Note that SYS and SYSTEM can also perform these tasks.
Oracle Enterprise Manager Grid Control Installation and Basic Configuration
SYSTEM
MANAGER
Another account used to perform database administration tasks
程序員的基礎教程:菜鳥程序員