Solution to oracle forgetting system sys username and password

Source: Internet
Author: User

 

Enable SQL plus

Find a user to log on

Finally, enter commit;

Microsoft Windows XP [version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:-Documents and Settings-Administrator> sqlplus/nolog

SQL * Plus: Release 10.1.0.2.0-Production on Saturday June 26 11:08:34 2010

Copyright (c) 1982,200 4, Oracle. All rights reserved.

SQL> conn/as sysdba

Connected.

SQL> alter user system identified by "123456 ";

User altered.

SQL> alter user sys identified by "123456 ";

User altered.

SQL> alter user system identified by "123456 ";

User altered.

SQL> exit

Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0-Pr

Oduction

With the Partitioning, OLAP and Data Mining options

C:-Documents and Settings-Administrator> sqlplus

SQL * Plus: Release 10.1.0.2.0-Production on Saturday June 26 11:11:34 2010

Copyright (c) 1982,200 4, Oracle. All rights reserved.

Enter user-name: system

Enter password:

Connected:

Oracle Database 10g Enterprise Edition Release 10.1.0.2.0-Production

With the Partitioning, OLAP and Data Mining options

SQL> select instance_name from v $ instance;

INSTANCE_NAME

--------------------------------

Myfirstoracledb

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.