Resolving ORACLE ERROR:ORA-20000: the account is locked

From your command prompt, type

sqlplus "/ as sysdba"

Once logged in as SYSDBA, you need to unlock the hr account

SQL> alter user hr account unlock;
SQL> grant connect, resource to hr;

Comments