Oracle Database Sqlplus/as SYSDBA problems

Source: Internet
Author: User

In Oracle boot setup, we are able to boot from Oracle software, instance, monitor.

So usually we are using the Sqlplus sys/****** as SYSDBA command to log in, the startup script does not know the SYS user's password, how does it log on up?

In the view script, the Sqlplus/as sysdba command is used, which uses the operating system authentication. Log on using this command, no sys user password is required, and the SYS user is logged in.

When the SYS user password for the Oracle database is forgotten, you can sqlplus/as sysdba into the database through the operating system and execute ALTER USER SYS identified by XXX to modify the SYS user password.

For the execution of Sqlplus/as SYSDBA, the user is required to operate in a DBA user group, such as an Oracle user can execute this command, and other ordinary users will report an error of insufficient privileges when executing this command.

In addition use:

Sqlplus/nolog;
Conn/as Sysdba;

It has the same effect as Sqlplus/as sysdba.

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.