All Products
Search
Document Center

Hologres:DataGrip

Last Updated:Mar 18, 2026

DataGrip is a database IDE that supports connections to multiple databases from a single client. This topic describes how to connect DataGrip to a Hologres instance using the PostgreSQL driver.

Prerequisites

Before you begin, make sure you have:

Connect DataGrip to Hologres

  1. Open DataGrip. On the Database Explorer toolbar, click the 创建连接 icon to add a new data source.

  2. Select Data Source > PostgreSQL.

    Select PostgreSQL as the data source type

  3. In the Data Sources and Drivers dialog, configure the following parameters. The URL field combines the Host, Port, and Database values:

    If the missing driver files message appears, click Download to install the required driver files.
    ParameterDescriptionExample
    NameA display name for this connection
    HostThe public endpoint of the Hologres instance. In the Hologres console, go to Instance Details > Network Information.holodemo-cn-hangzhou.hologres.aliyuncs.com
    PortThe public port of the Hologres instance. Find it in Instance Details > Network Information.80
    AuthenticationSelect User & Password.
    UserYour Alibaba Cloud AccessKey ID. Get it from the AccessKey Management page.
    PasswordYour Alibaba Cloud AccessKey secret.
    DatabaseThe name of the Hologres database to connect to. Find database names on the Database Management page in the Hologres console.postgres
    URLThe connection URL generated automatically from the values above.jdbc:postgresql://holodemo-cn-hangzhou.hologres.aliyuncs.com:80/postgres
       jdbc:postgresql://holodemo-cn-hangzhou.hologres.aliyuncs.com:80/postgres
                         ^                                             ^  ^
                         |- Host                                  Port-|  |- Database

    Connection parameter configuration

  4. Click Test Connection. A success message confirms the connection is working.

    For older versions of DataGrip, if the connection fails after driver installation, go to the Options tab, find the Introspection section, and select Introspect using JDBC metadata. Then retry the connection test. option选项
  5. Click OK to save the connection.

What's next

After connecting DataGrip to Hologres, you can query and develop data. For DataGrip usage, see the DataGrip documentation.

Common Hologres scenarios: