天天看點

scott/tiger is locked 解決辦法

在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 //彈出一個修改密碼的對話框,修改一下密碼就可以了

繼續閱讀