Connecting Using Host Name/IP Address and Service Name
If your database is in the Oracle Cloud go to Connecting to Oracle Autonomous Database (ADB). For additional help using the connection dialog, visit the connection dialog help.
-
You can connect to the Oracle Database using one of the following ways:
-
To connect to Oracle Database from a .SQL or .PL/SQL file, press F1 to open Command Palette and select Oracle:Connect from the dropdown. Then select New Connection.
Or,
-
To connect from Oracle Database Explorer, click the plus (+) sign:
-
-
A connection dialog will open. In the Connection Type dropdown, select Basic (Host, Port, Service Name).
-
Enter the database hostname or IP Address, port number, and service name.
-
Select the database role from the Role drop down list.
-
Enter the username and password.
-
If you are using Proxy Authentication, check the Show more options checkbox and provide the proxy username and password. To guide you in entering the fields, note that in other tools, you may have connected using this format:
proxyusername[username]/[proxypassword]
Note:
For more details about connecting with a proxy, see Connecting Using a Proxy User.
-
If you wish to use a different schema than the default schema associated with your username, check the Show more options checkbox and select the schema name from the Current Schema dropdown.
-
Provide a connection name to be used to reference this connection in Database Explorer and elsewhere.
-
Click the Create Connection button.
Note:
Connection information and settings may be stored with a User, Workspace, or Folder Scope. For more information see Organizing Connections by User, Workspace, or Folder Scope.
Parent topic: Connecting to Oracle Database