How can I retrieve the password entered by the System user of oralce? Met the ORA-28000: the account is locked how to unlock?

Source: Internet
Author: User

The Oracle software installed a few months ago suddenly forgot the password you set. Today, I checked how to retrieve it.

After logging on as a user jqz/jqz (a previously created user, fortunately remembered:

SQL> connect/As sysdba
Connected.
SQL> alter user system identified by system;


The user has changed.

The system password is system.

How to solve the following error:

ORA-28000: the account is locked

Step 1: Use PL/SQL. the login name is system, and the database name remains unchanged. When selecting a type, change normal to sysdba;
Step 2: Select myjob to view users;
Step 3: Select system and right-click Edit ";
Step 4: change the password and remove the "account locked" check box;
Step 5: click "application" and then "close ";
Step 6: log on again and you will be able to pass the verification;

Method 2: Unlock

SQL> Conn/As sysdba
Connected.
SQL> alter user system account unlock;

The user has changed.


How can I retrieve the password entered by the System user of oralce? Met the ORA-28000: the account is locked how to unlock?

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.