Creating a Debugging Database Connection
To create a database connection, perform the following steps:
1 .
Open SQL Developer.
2 .
In the Connections tab, right-click Connections and select New Connection.
3 .
Enter the following and click Test:
Connection Name: hr_orcl
Username: hr
Password: hr
Select Save Password checkbox
Hostname: localhost
Port: 1521
SID: orcl
4 .
The status of the connection was tested successfully. The connection was not saved however. To save the connection, click Connect.
5 .
Once the connection is saved, you will see the database in the list. When a connection is created, a SQL Worksheet is opened automatically. The SQL Worksheet allows you to execute SQL against the connection you just created. Expand the hr_orcl connection.