Unlock Oracle10g scott

Source: Internet
Author: User

We know that scott must be unlocked before conn to scott/tiger for the first time. The steps for unlocking are as follows:

1: Start the database and run @ $ Oracle_HOME/db_1/rdbms/admin/utlsampl. SQL.

2: access the database through sqlplus again

3: alter user scott identified by tiger account unlock (if we do not know scott's password tiger at this time, we will directly use alter user scott account unlock, you can set the password again later) --- when we try to go to conn scott/tiger at this time, we can run pupbld on the conn, but the prompt says we want to run pupbld on the system user. SQL. We do not know the system password, so we can use the following method to set

4: alter user system identified by oracle -- after setting the system password, you can log on.

5: conn system/oracle

6: @ $ ORACLE_HOME/sqlplus/admin/pupbld. SQL -- run this SQL statement on the system user

For more information about Oracle, see Oracle topics page http://www.bkjia.com/topicnews.aspx? Tid = 12

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.