All Products
Search
Document Center

Hologres:SQL Workbench/J

Last Updated:Mar 26, 2026

SQL Workbench/J is a free, cross-platform SQL query and analysis tool. Connect it to Hologres using a PostgreSQL JDBC driver to run queries and analyze data visually.

Prerequisites

Before you begin, make sure you have:

Set up the connection

Step 1: Configure connection parameters

  1. Start SQL Workbench/J and create a new connection.

  2. Set the Driver field to PostgreSQL.

  3. In the URL field, enter a JDBC URL in this format:

    Placeholder Description
    <endpoint> The public endpoint of your Hologres instance. Find it on the Network Information tab of the instance details page in the Hologres console.
    <port> The public port of your Hologres instance. Find it on the Network Information tab alongside the endpoint.
    <database> The name of the Hologres database to connect to.
    jdbc:postgresql://<endpoint>:<port>/<database>

    Example: jdbc:postgresql://holodemo-cn-hangzhou.aliyun.com:80/postgres

    Connection configuration

  4. Set Username to your AccessKey ID and Password to your AccessKey secret.

Step 2: Enable SSL

  1. Click Extended Properties.

    Extended properties

  2. Set SSL to true.

  3. Click OK.

Step 3: Connect

  1. Click OK to establish the connection.

  2. You can now use SQL Workbench/J to query and analyze data in Hologres.

What's next

  • Use the SQL editor to query tables and analyze data in your Hologres instance.

  • To connect other SQL clients to Hologres, see the other connection guides in the Hologres documentation.