新装完Oracle10g后,用scott/tiger测试,会出现以下错误提示: oracle10g the account is locked oracle10g the password has expired
原因:默认Oracle10g的scott不能登陆。
在运行里面输入cmd在DOS模式下输入sqlplus,以system用户名登录,密码是刚装oracle时自己填写的密码XXX,登录进去以后。
SQL> conn sys/sys 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登录就可以了。。。。。
原文:https://blog.csdn.net/flyuniverse_shell/article/details/7082042