Skip to content

Connect to Your Database

Connect to a saved connection in DBCode with a single click.

  1. Click the DBCode icon in the Activity Bar to open the DB Explorer

DBCode sidebar showing the Connections panel with saved connections

  1. Click on a saved connection to connect. You can also right-click and select Connect from the context menu
  2. If the connection requires authentication (such as a password), a prompt appears. Enter the credentials to complete the connection

Once connected, a dot appears next to the connection name. Expand the connection to browse schemas, tables, views, and other database objects.

Connected connection showing tables, views, and types in the tree

While a connection is being established, a Cancel Connection Attempt button appears on the connection. Click it to abandon the attempt, for example when the server is unreachable because a VPN is down, and retry immediately once the network is back. Attempts that receive no response also time out on their own after the connection timeout, so a connection never stays stuck connecting.

Select a saved connection to reveal the toolbar icons. Click the Disconnect button (the first icon) to end the session. You can also right-click the connection and select Disconnect from the context menu.

Selected connection showing toolbar icons including disconnect, edit, copy, and delete

Your saved connection settings are retained for future use. Disconnecting only ends the active session.