Default username and password for Oracle

Source: Internet
Author: User

I changed one machine before, And I installed all the software again, and re-configured the development environment (vs2003, vs2008, Oracle ......), It is really not easy. During this period, many problems have been encountered, but they are easy to solve. However, during Oracle installation, a database is created, and the user name and password are also set during installation. However, the login is unsuccessful and the user authorization problem is found, therefore, you can also use the Oracle system to manage user login to authorize the previous user name.

The following table lists the Default usernames and passwords in Oracle:

User name/Password

Logon identity

Description

Sys/change_on_install Sysdba or sysoper Normal logon is not allowed. It can be used as the default system administrator.
System/Manager Sysdba or normal You cannot log on with sysoper as the default system administrator.
Sysman/oem_temp Sysman is the OMS User Name
Scott/Tiger Normal Common User
Aqadm/aqadm Sysdba or normal Advanced queue Administrator
Dbsnmp/Dbsnmp Sysdba or normal Copy the username that the postmaster sysman is OMS.
Scott/Tiger Normal Common User
Aqadm/aqadm Sysdba or normal Advanced queue Administrator
Dbsnmp/Dbsnmp Sysdba or normal Copy Administrator

 

Some simple operations:

Run-> Enter cmd-> enter sqlplus

In this case, you need to enter the user name and password to Use System

1. Create a temporary tablespace:
Create temporary tablespace test_temp
Tempfile '/Oracle/product/10.2.0/oradata/test/test_temp01.dbf'// The directory must exist.
Size 32 m
Autoextend on
Next 32 m maxsize 1024 m
Extent management local;
2. Create a data table space:
Create temporary tablespace test_data
Tempfile '/Oracle/product/10.2.0/oradata/test/test_data01.dbf'// The directory must exist.
Size 32 m
Autoextend on
Next 32 m maxsize 1024 m
Extent management local;

3. Create a user

Create User Username identified by password

Default tablespace test_data
Temporary tablespace test_temp;

4. grant permissions to users

Grant connect, resource ,...... To user name;

5. Unlock the user

Alter user system account unlock;

6. delete a user

Drop User Username cascade;

 

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.