In Oracle 11g, the Administrator sys and system passwords are unavailable. Solution

Source: Internet
Author: User

When installing the Oracle 11g Database, the password setting item is skipped. When you need to use sys and system later, the system always prompts that the password is incorrect. Here, we provide a way to reset these user passwords.

Use sqlplus to log on to the database:

Bash-3.00 $ sqlplus/as sysdba

SQL * Plus: Release 10.2.0.2.0-Production on Fri Nov 30 16:29:59 2012

Copyright (c) 1982,200 5, Oracle. All Rights Reserved.


Connected:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0-Production
With the Partitioning, OLAP and Data Mining options

SQL> alter user sys identified by admin;

User altered.

SQL> conn sys/admin as sysdba;
Connected.
SQL> alter user system identified by admin;

User altered.

Now, you can use your own password to log on to the database.

 

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.