Using SQL Developer
Logging on
- Start SQL Developer: click OK and Close to the opening windows
- Click the New Connection button on the Connections tab
![Click the New Connection button on the Connections tab](images/oracle_connection.jpg)
- The following dialog box comes up. Enter the information shown below:
![Enter the following information: Enter a name for your connection in the "Connection name" field. The user name is a lowercase s followed by your student number. The password is Monday (with a capital M), followed by a lowercase s and your student number. Select the "save password" check box. In the "Hostname" field type in "redstart 'dot' CDU 'dot' EDU 'dot' AU." The port field should read 1521. Select the "SID" radio button and type "redstart" in the field.](images/select_database_connection.jpg)
- Click Save - this will save the information
- Click Connect to connect to the database. The following screen will come up:
![Type your SQL commands in the large "Enter SQL Statement field](images/type_SQL.jpg)
Saving your work before logging off
The area you have been typing your commands in is known as a worksheet. You can save these worksheets and retreive these worksheets.
To save your worksheet:
- Click the Save button (the normal disc icon)
- Give your file a .sql extension (the convention for files with sql commands)
- Save it in the location you wish
Using PuTTY
Logging on
Logging onto SQL*Plus is a two-step process:
- Log on to redstart
- Log on to SQL*Plus
Foro redstart your
username and password are the same as for your student log in.
For Oracle your username
and password are:
Username: sXXXXXX
Password: MondaysXXXXXX (with capital M,
where XXXXXX is your student number).
- Start PuTTY by double clicking on PuTTY.exe. PuTTY does not need
to be installed.
Set the following variables:
Host Name:
redstart.cdu.edu.au
Port Number: 22
Protocol: SSH
![PuTTY configuration](images/puttyconfiguration.gif)
- Click Open
If the following message comes up, click Yes
- Enter your details:
login:
s+yourstudentnumber
password: MondaysXXXXX
(with capital M, where XXXXXX is your student number).
If all is well the prompt will now be [sXXXXXX@redstart sXXXXXX]
- Once you are on redstart (using PuTTY), you can then log on to SQL*Plus by:
- Type:
sqlplus
- Press:
Enter
- Enter your username and password when prompted
Logging off
You will need to log off both redstart and Oracle.
Log off SQL*Plus
- Type:
quit
Log off redstart
Either:
- Type
ctrl-d
(press the ctrl
and d
key at the same time)
or
- Close SSH/PuTTY