Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

Unlocking HR account

Until Oracle9i we had an account called SCOTT with password TIGER. Many try to use that to
log in but fail. Oracle Database 10g doesn't come with SCOTT account any more. It instead
provides HR account HR password.

But, HR account is locked and cannot be used unless you unlock it. So here are the steps to
unlock HR account.

1. Start SQL Plus using Oracle Database 10g Express Edition->Run SQL Command
Line.
2. At SQL> prompt, connect to Oracle using SYSTEM account with password given at the
time of installation. Oracle password are NOT case sensitive.

CONNECT SYSTEM/password

3. Unlock HR account with the following command.

ALTER USER HR ACCOUNT UNLOCK;


> Now, HR account is unlock and ready to be used.

4. So, try to connect to HR account using the following command.

CONNECT HR/HR

You might also like