Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

On Quarry, how do I access the UITS Oracle database Oed1prd with SQL*Plus?

On this page:


Setting up your accounts

If you don't have a Quarry account, you'll need to create one; see Getting started on Quarry.

You'll also need an account on the UITS database Oed1prd. Use the Request Form to request an Oracle account from UITS.

Using Quarry to access the database

  1. Log into Quarry and set your default shell. Follow the appropriate instructions below, depending on your shell:

    • bash: Using vi, navigate to the bottom of your ~/.bash_profile file and add the following lines: ORACLE_HOME=/N/soft/linux-rhel4-x86_64/oracleds/home; export ORACLE_HOME PATH=$ORACLE_HOME/bin:$PATH; export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/instantclient; export LD_LIBRARY_PATH
    • csh or tsch: Using vi, use your arrow keys to navigate to the bottom of your ~/.cshrc file. After the existing "set path=" line, add the following lines: setenv ORACLE_HOME /N/soft/linux-rhel4-x86_64/oracleds/home set path=($ORACLE_HOME/bin $path)
    • ksh or sh: Using vi, use your arrow keys to navigate to the bottom of your ~/.profile file and add the following lines: ORACLE_HOME=/N/soft/linux-rhel4-x86_64/oracleds/home; export ORACLE_HOME PATH=$ORACLE_HOME/bin:$PATH; export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/instantclient; export LD_LIBRARY_PATH
  2. To make your new environment variables take effect, log out and log back into your Quarry account, and then you will be ready to use SQL*Plus.

Using SQL*Plus

To use SQL*Plus after properly configuring your account:

  1. At the Unix prompt, enter: sqlplus
  2. When prompted for your username, enter: username@database

    Replace username with your username and database with the name of the database that you want to access (e.g., tfps@oed1prd).

  3. Enter your password.

To change your password, at the SQL*Plus prompt, enter:

PASSWORD

You will be prompted to enter your old password and your new password, and then to re-enter your new password.

This is document ajpk in domain all.
Last modified on August 04, 2011.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.