0% found this document useful (0 votes)
39 views7 pages

Oracle New Connection and User Setup Guide

The document provides steps to set up a new Oracle SQL Developer connection and user: 1) Create a 'System' connection, 2) Create a new user, 3) Create a new empty connection using the new user.

Uploaded by

kpnemaranzhe1.ys
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views7 pages

Oracle New Connection and User Setup Guide

The document provides steps to set up a new Oracle SQL Developer connection and user: 1) Create a 'System' connection, 2) Create a new user, 3) Create a new empty connection using the new user.

Uploaded by

kpnemaranzhe1.ys
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Oracle – New Connection and User Setup Guide

Setup steps:

1) Setup “System” connection in Oracle SQL Developer


2) Create a NEW USER in Oracle SQL Developer
3) Setup NEW EMPTY connection with NEW USER in Oracle SQL Developer

1) Setup “System” connection in Oracle SQL Developer

To setup a NEW connection, open Oracle SQL


Developer and click on the green + sign in the left-
hand corner of the screen as illustrated on the right.

Enter the following information to create the NEW


“System” connection:

Connection Name: Oracle-System


Username: system
Password: cmpg311
Connection Type: Basic
Role: default
Hostname: localhost
Port: 1521
SID: xe

Click on test to see whether your connection is a success. When the test is successful you can click on
connect.
2) Create a NEW USER in Oracle SQL Developer

To create a NEW USER, expand the newly created connection Oracle-System, scroll down to users,
right click on users and select Create User as illustrated below.

The Create User dialog box will appear where you can create a new user. Choose a name for the new
user in capital letters such as “SPIDERMAN” or “BATMAN”. Also specify a password, it is
recommended to use the same “ cmpg311 ” password so you do not forget. Click on apply, then on
ok.
Now that the user is created, we have to grant that user appropriate user roles and privileges. Scroll
to the user you have just created, right click and choose Edit User.

Navigate to the Tab “Granted Roles” and select Grant All.


Then navigate to the Tab “System Privileges” and select Grant All and click on Apply.
You will get the error below, that is fine, click on ok.

Now you have created a new user and granted that user all the appropriate roles and privileges to be
able to create a new empty connection.
3) Setup NEW EMPTY connection with NEW USER in Oracle SQL Developer

To setup a NEW connection, open Oracle SQL Developer and click on the green + sign in the left-hand
corner of the screen as illustrated on the right.

Enter the following information to create the NEW EMPTY connection with the NEW USER:

Connection Name: << your group name >>


Username: << the new user >>
Password: cmpg311
Connection Type: Basic
Role: default
Hostname: localhost
Port: 1521
SID: xe

Click on test to see whether your connection is a success. When the test is successful you can click on
connect.
Done and DONE! - You will nou have created a new empty connection with no tables where you can
now create all the tables etc. for your group project.

Example: Create Table and Insert data:

Display all data in the movies table:

You might also like