Problem: ORA-28000: the account is locked ., Ora-28000locked

Source: Internet
Author: User

Problem: ORA-28000: the account is locked ., Ora-28000locked

Open cmd:

Run

Sqlplus/nolog

Run
Conn/as sysdba

Run

Alter user username account unlock;


ORA-28000 in oracle Database: the account is locked Problem

This user has been locked. Generally, it has to be unlocked because the wrong password has been tried too many times.
Log in with the system or sys user, and then
Alter user username account unlock;

JavasqlSQLException: ORA-28000: the account is locked? Solution

Use a user with DBA permission or a local conn/as sysdba login to unlock
Command: alter user lxy account unlock;
Ora-28000 the account is locked, this occurs because the user is locked,
Generally, this problem occurs because the number of connections to the database is greater than the configured number of connections. follow the steps below to solve the problem.
1. Program connection is greater than the number of oracle connections;
Handling Method: reset the number of connections: Use the Administrator to execute the following script,
Alter profile DEFAULT limit FAILED_LOGIN_ATTEMPTS 10; -- set the number of connections
Alter profile DEFAULT limit FAILED_LOGIN_ATTEMPTS UNLIMITED; -- UNLIMITED connections
2. The program connection is larger than the number of connections configured in the connection pool;
Solution: Increase the number of connections in the connection pool;
3. Release the user lock:
Run alter user Username account unlock as the super administrator;

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.