Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex WebSQL
  • Getting started
    • All guides
    • Creating a connection
    • Working with the query editor
    • Analytics and optimization with AI assistant
    • Working with saved queries
    • Working with query history
  • Access management
  • Pricing policy
  • Audit Trails events

In this article:

  • Connecting to a managed database cluster in Yandex Cloud
  • Connecting to a custom DB installation
  1. Step-by-step guides
  2. Creating a connection

Creating a connection

Written by
Yandex Cloud
Updated at October 21, 2025
  • Connecting to a managed database cluster in Yandex Cloud
  • Connecting to a custom DB installation

In Yandex WebSQL, you can create a connection to:

  • Managed database clusters in Yandex Cloud
  • Custom DB installation

Connecting to a managed database cluster in Yandex CloudConnecting to a managed database cluster in Yandex Cloud

In Yandex WebSQL, you can connect to databases in the following clusters:

  • Yandex Managed Service for PostgreSQL
  • Yandex Managed Service for ClickHouse®
  • Yandex Managed Service for MySQL®
  • Yandex Managed Service for Valkey™
  • Yandex StoreDoc* Yandex MPP Analytics for PostgreSQL

Before creating a connection, make sure you have selected the right folder. If you have access to PostgreSQL, ClickHouse®, MySQL®, Greenplum®, Valkey™, or Yandex StoreDoc clusters previously created in that folder, they will automatically appear in the Yandex Cloud connections subsection. You will only need to create a connection to the appropriate database in the cluster.

Note

Yandex Managed Service for Trino is at the Preview stage. Currently, you cannot create connections to Yandex Managed Service for Trino in the Yandex WebSQL interface. However, if the current folder has a Yandex Managed Service for Trino cluster and the user can access it, the connection will be displayed in WebSQL, available for use.

WebSQL uses connections in Yandex MetaData Hub Connection Manager, so all connections configured in Connection Manager are automatically available in WebSQL provided that the user has the appropriate roles.

To create a connection to a Yandex Cloud managed database cluster:

  1. Make sure WebSQL access is enabled in the cluster settings.
  2. Open Yandex WebSQL Connections.
  3. In Connections, click .
  4. In the Database type field, select the database you need: PostgreSQL, ClickHouse®, MySQL®, Valkey™, Yandex StoreDoc, or Greenplum®.
  5. In the Cluster folder field, select the folder hosting the required cluster.
  6. In the Cluster field, select the managed database cluster you want to connect to.
  7. Specify the Username you will use to connect to cluster databases.
  8. Enter the user Password.
  9. List the Databases you want to connect to. You can only connect to the databases that exist in this cluster. The user you specified must have access to them.
  10. Click Create.

You can also create a connection to a cluster in Yandex MetaData Hub Connection Manager. This connection will automatically appear in Yandex WebSQL. But DB username, password, and name should be entered manually.

If the connection is successful, you will see the cluster structure in the connection tree. Connections to databases within a single managed database cluster are grouped into an expandable list under the name of that cluster.

Connecting to a custom DB installationConnecting to a custom DB installation

To connect to a custom DB installation over the internet:

  1. Open Yandex WebSQL Connections.

  2. In Connections, click .

  3. In the bottom-left corner of the window that opens, click External connection.

  4. Name the connection.

  5. In the Database type field, select the database you need: PostgreSQL, ClickHouse®, MySQL®, Valkey™, Greenplum®, Valkey™, or Yandex StoreDoc.

  6. Under Hosts, configure the hosts:

    • Specify the database host FQDN and port number for connecting to the database.

    • For ClickHouse®, also specify the Native Protocol port and shard name.

    • Optionally, enable TLS.

      If your company has a certification authority (CA), the certificate issued by the CA will be used by default. If the company has no CA, upload the server's TLS certificate.

  7. Specify the Username you will use to connect to the database.

  8. Enter the user Password.

  9. List the Databases you want to connect to. You can only connect to existing databases. The user you specified must have access to them.

  10. Click Create.

If the connection is successful, you will see the database structure in the connection tree.

ClickHouse® is a registered trademark of ClickHouse, Inc.

Was the article helpful?

Previous
All guides
Next
All guides
© 2025 Direct Cursus Technology L.L.C.