ORA-28000: the account is locked的解决办法
ORA-28000: the account is locked
第一步:使用PL/SQL,登錄名為system,數(shù)據(jù)庫名稱不變,選擇類型的時(shí)候把Normal修改為Sysdba;
第二步:選擇myjob,查看users;
第三步:選擇system,右擊點(diǎn)擊“編輯”;
第四步:修改密碼,把“帳戶被鎖住”的勾去掉;
第五步:點(diǎn)擊“應(yīng)用”再點(diǎn)擊“關(guān)閉”;
第六步:重新登錄就可以通過驗(yàn)證了;
第二種
ALTER USER username ACCOUNT UNLOCK;
第三種
在plsql developer中要是以scott/tiger登錄時(shí)提示ora-28000 the account islocked。
解決辦法:
新裝完Oracle10g后,用scott/tiger測試,會出現(xiàn)以下錯(cuò)誤提示:
???????oracle10g the account is locked
???????oracle10g the password has expired
原因:默認(rèn)Oracle10g的scott不能登陸。
解決:
(1)conn sys/sys as sysdba; //以DBA的身份登錄
(2)alter user scott account unlock;// 然后解鎖
(3)conn scott/tiger //彈出一個(gè)修改密碼的對話框,修改一下密碼就可以了
在運(yùn)行里面輸入cmd在DOS模式下輸入sqlplus,以system用戶名登錄,密碼是剛裝oracle時(shí)自己填寫的密碼orcl,登錄進(jìn)去以后。
SQL> conn sys/sys assysdba;??????(分號是必須的但是我是以system登錄的所在這不應(yīng)該寫conn sys/sys as sysdba應(yīng)該寫connsystem/orcl as sysdba;)
????????Connected.
SQL> alter user scott account unlock;
????????User altered.
SQL> commit;
????????Commit complete.
SQL> conn scott/tiger//請輸入新密碼,并確認(rèn)后OK
Password changed
Connected.
?
這時(shí)再到plsql developer里面以scott/tiger登錄就可以了。。。。。
?
Oracle 10g 默認(rèn)安裝帶來的用戶名/密碼
?? 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 OracleEnterprise Manager to monitor and manage the database
Oracle Enterprise Manager Grid Control Installation and BasicConfiguration
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 routerdata
Oracle Spatial User's Guide and Reference
MDSYS
MDSYS
The Oracle Spatial and Oracle interMedia Locator administratoraccount
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 theOLAP Catalog (CWMLite).
Oracle OLAP Application Developer's Guide
ORDPLUGINS
ORDPLUGINS
The Oracle interMedia user. Plug-ins supplied by Oracle and thirdparty 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 enablesyou to maintain the same execution plans for the same SQLstatements. OUTLN acts as a role to centrally manage metadataassociated 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 StillImage 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 databaseadministration tasks. Note that SYS and SYSTEM can also performthese tasks.
Oracle Enterprise Manager Grid Control Installation and BasicConfiguration
SYSTEM
MANAGER
Another account used to perform database administration tasks
新人創(chuàng)作打卡挑戰(zhàn)賽發(fā)博客就能抽獎(jiǎng)!定制產(chǎn)品紅包拿不停!
總結(jié)
以上是生活随笔為你收集整理的ORA-28000: the account is locked的解决办法的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 设置DateChooser控件的头部文字
- 下一篇: oracle 远程连接超时问题