Oracle SYS users cannot log on with the default password change_on_install (error code: ORA-28009)

Source: Internet
Author: User

When you log on to the database using the default Oracle SQL plus (for example,), you can use the System user's default password manager to log on to the database.

However, if you enter the user SYS and the default password change_on_install, you cannot log on.
The following error is reported:

Error:
ORA-28009: connection to SYS shoshould be as sysdba or sysoper

Problem Analysis:

Usage: conn [ect] [logon] [as {sysdba | sysoper}]
<Logon >::= <username> [/<password>] [@ <connect_string>] |/

If you log on as a sys user, you must log on in the full format !!

Solution:
1. Log On with the System user, and switch to the Sys user in the complete format: SQL> conn sys/change_on_install @ zgctwo as sysdba
Connected.

2. The host string on the logon interface is followed by the string as sysdba:

OK !! You can splice the connection string here.

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.