Unlock oracle oracle default user scott

There is a default user scott oracle, the password for the tiger, when installing oracle, if not to unlock the account, then log in to the user,

It will prompt locked.

How to unlock scott by sqlplus command:

1.C:> sqlplus
  Enter user name: sys
  password: sys SYS AS dba  // Note: You must keep up in the back as sysdba password before they can enter the password here.

2.SQL> alter user scott account unlock;
   to unlock the scott user, prompts the user has changed.

3.SQL> commit;
   Submit completed.

4.SQL> conn scott / tiger
   change scott Password
   New Password: tiger

Guess you like

Origin www.cnblogs.com/houchen/p/11100355.html