Error: ORA-28000: the account is locked
Cause: The user has entered wrong password consequently for maximum number of times specified by the user’s profile parameter FAILED_LOGIN_ATTEMPTS, or the database administrator has locked the account.
Action: Wait for PASSWORD_LOCK_TIME or contact the database administrator
To connect, go to command prompt (cmd) or through PUTTY for Linux and connect to the account with SYSDBA privileges as follows:
1- SQLPLUS SYS AS SYSDBA 2- Enter password:
once you are connected with Database then use the following command
alter user <your_username> account unlock;
And if there is no such policy of yours then check your settings for the password properties in the DEFAULT
profile with the following query:
SELECT resource_name, limit
FROM dba_profiles
WHERE profile = 'DEFAULT'
AND resource_type = 'PASSWORD';
And If required, you just need to change thePASSWORD_LIFE_TIME
tounlimited
with the following query:
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;