Access to Oracle's Sql*plus interface

Source: Internet
Author: User

Prior to installing Oracle, but after the first installation, you do not know how to enter the user name and password into the inside, now teach you how to enter Oracle to execute the corresponding command

Solve the problem with ora-280000 the account is locked:

Start-to-run-->cmd DOS interface

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/83/9D/wKioL1d4dxHyl27VAAEN7CJkQao867.png-wh_500x0-wm_3 -wmp_4-s_3245571584.png "title=" 1.png "alt=" Wkiol1d4dxhyl27vaaen7cjkqao867.png-wh_50 "/>

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/83/9D/wKioL1d4d1TgXI7lAAEK_rhgWq4265.png-wh_500x0-wm_3 -wmp_4-s_3241677853.png "title=" 1.png "alt=" Wkiol1d4d1tgxi7laaek_rhgwq4265.png-wh_50 "/>

Input: Sqlplus.exe/as sysdba;

Sql>alert user Scott account unlock;

User altered.

sql>commit;

Commit complete.

Sql>conn Scott/tiger

ERROR:

ora-28001:the Password has expired

Change password for Scott

New Passoword:

Retype new Password

Password changed

Connect.

sql>commit;

Commit complete.

This time using the scott/new password for the Net Manager test can be successful, which solves the problem of ora-280000 the account is locked


The next question is, what if the system's password is forgotten?

First, use the method mentioned above to enter Sqlplus

Sql> Conn/as SYSDBA

Connect.

sql> alter user system identified by manager;

User altered.

sql>commit;

Commit complete.

Sql>conn System/manager;

Connected.

To this problem also solved.

Thank http://tlk20071.iteye.com/blog/1989854 for the content of this netizen. Learning the database will have to learn some basic content, the foundation does not play well how to carry out behind the study. Hey. Today July 3, 2016.

Ningquewulan, not a flaw.


Access to Oracle's Sql*plus interface

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.