Skip to content

Connecting and Disconnecting

Connecting to a database

To connect, select one or more connections in the Databases tab, right-click and select Connect → Connect, or press Ctrl+Shift+C (Cmd+Shift+C on macOS). To disconnect, select Disconnect → Disconnect, or press Ctrl+Shift+D (Cmd+Shift+D on macOS). If a connection stops working, for example after a network problem, select Reconnect → Reconnect.

The same actions are in the Database menu.

Connecting several connections at once

To connect several connections at once, mark them for Connect All, and then select Database → Connect → Connect All. Database → Disconnect → Disconnect All disconnects all connections, not only the marked ones.

You can mark connections in three ways:

  • Several connections at once: Right-click in the Databases tab and select Show All Connections. In the list, select the Connect All checkbox for the connections.
  • One connection: Open the Properties tab of the connection, select the node with the database type, such as PostgreSQL, and select Connect when "Connect All".
  • All connections of a database type: Open Tools → Tool Properties, select the database type in the Database tab, and select Connect when "Connect All".

Connecting at startup

To connect the marked connections every time DbVisualizer starts, open Tools → Tool Properties, select the Database Connection category under the General tab, and select Run "Connect All" at Startup.