Highlights of Oracle usage for the first time

Source: Internet
Author: User

I remember that Oracle I installed more than a year ago has never been used. When I was preparing for use, I encountered various problems. I had to find a solution on the Internet to solve them one by one. I 'd like to note it in case I forget it:

I. Forget the password of a common user in Oracle

Log on to the super administrator sys and modify the settings.

In the Windows command line:

1. Go to the Oracle command line: sqlplus

2. log on to the database: User name: SYS

Password: SYS as sysdba

3. Change the password:

Alter User Username identified by newpass;

(Username is the account to be modified, and newpass is the new password after modification)

For more Password Change questions, see: http://hi.baidu.com/quandang/item/14ed05dc40fed0dc251f40c6

 

II. The account is locked

For example, if I change Scott's password to Tiger and use Scott's normal user to log on, the error "the account is locked" appears. Log On again with the super administrator privilege and run the following command:

Alter User Username account unlock;

(Username is the account to be unlocked)

For more unlock questions, see http://quanjj.iteye.com/blog/1106846

 

Iii. PL/SQL developer is not allowed for this database

At this time, you can log on from the command line as Scott, but when I log on using PL/SQL developer, the question "PL/SQL developer is not allowed to use this database" appears, log on to the command line as a super administrator and run the following command:

Drop table SYS. plsqldev_authorization;
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.