Unlock and modify password for Scott user in Oracle __oracle

Source: Internet
Author: User
Tags sqlplus

Modify Password:


Scott user's password is not correct, enter administrator user, modify Scott user password can
or modify the password like this:
In the Run Bar Knock: Sqlplus (space)/nolog carriage return
Then knock in the pop-up box: Conn Sys/password as SYSDBA carriage return
Prompt is connected
Last knock: Alter user Scott identified by Tiger; carriage return
Alter user Scott account unlock carriage return (Unlock for Scott)



Unlock method:

After you log in with system, execute the following command:
sql> alter user Scott account unlock;
The user has changed.
This completes the unlock operation. Next, you can also reset the user's password to Scott.
Modify Scott's login password:
Sql> alter user Scott identified by Tiger;
The user has changed.
When you're done, you can use Scott and Tiger to log in.
Sql> Conn Scott/tiger
is connected.
Learn some of the experiences of Oracle databases:
1. Enter Sqlplus under DOS command to open Oracle's own SQL Plus with login prompts, and input sqlplus/nolog to open SQL Plus without landing prompts;
2. Enter Conn in SQL Plus to connect to the database, one of the formats is:
Sql> conn username/password such as: Conn Scott/tiger
3. Code to lock and unlock users in Oracle:
sql> ALTER user name account lock; Lock
Sql> alter user username account unlock; (unlock)
It is hoped that the above experience will help the novice Oracle friends.

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.