Oracle user creation and permission assignment

Source: Internet
Author: User

1. the default system password is manager.

2. The default sys password is change_on_install.

Find the sqlplus program in \ oracle \ product \ 9.2 \ bin in the installed database directory and run:./sqlplus system/manager @ ora9i

Use the system user to create your own users and permissions. The SQL statement is as follows:

1. Create a user:

Create user username identified by pwd default tablespace users Temporary TABLESPACE Temp;

2. user authorization

Grant connect, resource, dba to business;

3. Submit

Commit;

3. Use a database script to create a database

As described above, use sqlplus to log on as a username user and enter @ to create the database Script Name. SQL enter to create tables, views, and stored procedures in the database. Note: The above user creation process allows the user's table to have n multiple temporary tables automatically generated by the system.

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.