Q
Problem solve Get help with specific problems with your technologies, process and projects.

Creating a user with all privileges

I have installed Oracle9i database, and I would like to create a user with all privileges. Please help me.

To create a user, use the CREATE USER statement. There are lots of options for this one statement, so you will want to consult the documentation for more information. To create a basic user, issue the following:

CREATE USER myuser IDENTIFIED BY mypassword
DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;
You can substitute values for the lowercase words above. This newly created user does not have any privileges. You may want to let them connect to the database and create database objects. To do that, you can grant the CONNECT and RESOURCE roles to that user with the following command:
GRANT connect,resource TO myuser;
If you want the user to be "all powerful", then grant the DBA role as well:
GRANT dba TO myuser;

For More Information


Dig Deeper on Oracle database design and architecture

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close