Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 14

CIS 152 Visual tutorial: This tutorial will allow you to connect to CPCC using the Oracle client

tools that you have successfully installed on your home machine. If you have not yet installed the
Oracle database, or Oracle Client software you will need to complete that step first. Please see
the document titled HowToInstal9iClient under Course Documents.

Step 1:
Open Net Configuration Assistant
Step 2:
Select Local Net Service Name configuration
Step 3:
Select Add
Step 4:
Select Oracle8i or later database or service

Step 5:
Enter Service Name: ORCL
Step 6:
Select TCP (may be selected by default)
Step 7:
Enter Host name: 152.43.29.120
Select Use the standard port number of 1521

Step 8:
Select Yes, perform test and click Next
Step 9:
Receive error message and select Change Login
Another Possible Error: You may receive an error like the one below. If you receive this error
you are likely behind a firewall that will not allow you to connect to the CPCC campus using the
Oracle TNS protocol. I get this error from work, so you may have the same issue.

(Note: the ORA-#### at the beginning of the dialog box is the Oracle error number and message.
You will use this in later classes to debug your code.)

Step 10:
Change Login to
Username: (Your snap ID)
Password: oracle

Step 11:
Test successful, or try again.
Step 12:
Net Service Name: ORCL
Step 13:
Select No; Select Next

Step 14:
Success!
Step 15
Select Finish
:

Step 16:
Open SQL Plus
Step 17:
Log On
User Name: (Your snap ID)
Password: oracle
Host String: orcl

(I had step 17 fail, if this happens to you, retry from the start...that fixed it for me)

Step 18:
Success!

You might also like