Connect to Oracle Database via command line/enter SQL Plus

Source: Internet
Author: User

1. Open SQL Plus login directly, require username and password

Start-"program-" oracle-"Application development-" Sqlplus

My computer is "start"-"oracle-oradb11g_home1"-"Application Development"-"SQL Plus"

After the database installation is complete, there are two system-level users:
System default password: Manager
SYS default password: change_on_install

2. Go to cmd Command window, do not use user name and password

(1) Login Sqlplus/nolog
(2) Connection database: Connect/as sysdba
(3) Modify user Password (example: Modify sys user password to 123): Alter USER SYS identified by 123;

Note that there is a semicolon can not be omitted, otherwise it will automatically appear after the input "2" waiting for you to continue to enter.

Connect to Oracle Database via command line/enter SQL Plus

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.