How Oracle forgot Password reset

Source: Internet
Author: User

Yesterday installed oracle11g R2 to the Scott user to set the password, then did not display and only to enter once, may password input error, the results of today with Scott User login really password wrong, fortunately SYS and system users are normal, went in to reset the

Sql>alter user Scott identified by password; Password is the password you want to set, preferably starting with a letter

But if SYS and the system password are forgotten, they can be modified.

Here's how:

Open Run, enter

Sqlplus/nolog

Open Oracle's console and enter

Conn/as Sysdba; You are prompted to connect

is connected

And then change the password just like the normal user.

Sql>alter user system identified by password; Password is the password you want to set, preferably starting with a letter

This can be done under Linux

Su-oracle
Sqlplus/nolog
Conn/as SYSDBA
Startup (starts if the database is not in the startup state)
ALTER user SYS identified by password
You can then log on using the SYS user password

How Oracle forgot Password reset

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.