Post address: http://hi.baidu.com/zhangxia6110/blog/item/a4e2aa0001c3a483e850cd74.html
In PLSQL developer, the ora-28000 the account is locked is prompted when you log on with Scott/tiger.
Solution:
After Oracle10g is installed, use Scott/tiger for testing. The following error message is displayed:
Oracle10g the account is locked
Oracle10g the password has expired
Cause: Scott of Oracle10g cannot log on.
Solution:
(1) Conn sys/sys as sysdba; // Log On As A DBA
(2) alter user Scott account unlock; // then unlock
(3) Conn Scott/tiger // a dialog box is displayed, which allows you to change the password.
Enter cmd in running mode, enter sqlplus in DOS mode, and log on with the System user name. The password is the Oracle password you entered when you installed oracle. After logging on.
SQL> conn sys/sys as sysdba; (The semicolon is required, but I log on to the system. This should not be 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 // enter the new password and confirm the password. OK
Password Changed
Connected.
Then you can log on to PLSQL developer with Scott/tiger .....