Oracle unlocks Scott Users

Source: Internet
Author: User
Tags dba sqlplus
Cause: The default oracle10g Scott cannot log in.

Solve:
(1) Conn Sys/sys as sysdba;//logged in as DBA
(2) Alter user Scott account unlock;//then unlock
(3) Conn Scott/tiger//Popup A Password Change dialog box, modify the password can be

The following are the steps:
C:> Sqlplus
Please enter user name: SYS
Enter password: SYS as SYSDBA//NOTE: The password entered here must be followed by the as SYSDBA.
sql> alter user Scott account unlock;
The user has changed.
Sql> commit;
Submit complete.
Sql> Conn Scott/tiger
Change Scott Password
New Password: Tiger
Retype New password: Tiger
Password has changed
is connected.

Another way: You open a command prompt, do not log in directly to enter the following:
Sqlplus Sys/tiger as Sysdba
Access the SYS account as a DBA;
Alter user Scott account unlock;
Unlock the Scott user;

Oracle unlocks Scott Users

Related Article

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.