Solution where Scott users of Oracle10g cannot log on, that is, ora-28000 the account is locked error code

Source: Internet
Author: User

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 .....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.