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.

  1. 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:

  2. A connection dialog will open. In the Connection Type dropdown, select Basic (Host, Port, Service Name).

  3. Enter the database hostname or IP Address, port number, and service name.

  4. Select the database role from the Role drop down list.

  5. Enter the username and password.

  6. 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.

  7. 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.

  8. Provide a connection name to be used to reference this connection in Database Explorer and elsewhere.

  9. 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.