Connecting to Oracle Database
Using SQL Developer
- Click on New Connection
- Enter Username (e.g., HR) and Password
- Set Hostname (e.g., localhost) and Port (usually 1521)
- Set SID or Service Name (e.g., ORCL)
- Click Test and then Connect
Using SQL*Plus
sqlplus hr/hr@//localhost:1521/orclSQL*Plus allows command-line access and scripting capability.