Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for MySQL®
  • Getting started
    • All guides
      • Viewing cluster logs
      • Performance diagnostics
      • Monitoring the state of a cluster and its hosts
      • Connecting from DataLens
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Activating DataLens
  • Enabling access to a cluster from DataLens
  • Creating a cluster connection
  • Viewing a list of cluster connections
  • Updating a cluster connection
  • Deleting a cluster connection
  • Connection settings
  1. Step-by-step guides
  2. Logs and monitoring
  3. Connecting from DataLens

Connecting to a MySQL® cluster from DataLens

Written by
Yandex Cloud
Updated at December 17, 2025
  • Activating DataLens
  • Enabling access to a cluster from DataLens
  • Creating a cluster connection
  • Viewing a list of cluster connections
  • Updating a cluster connection
  • Deleting a cluster connection
  • Connection settings

Yandex DataLens is a business intelligence service, that lets you upload, process and visualize data for analysing and testing hypotheses. It can help you make marketing decisions for your product.

To use an existing cluster as a data source for Yandex DataLens:

  1. Activate DataLens.
  2. Enable access to the cluster from DataLens.
  3. Create a cluster connection in DataLens.

Activating DataLensActivating DataLens

Limit

You can only create one DataLens instance in the cloud.

Management console
  1. In the management console, go to the folder page.
  2. Go to DataLens.
  3. Click Activate DataLens.

The DataLens instance will be activated in the selected folder.

Enabling access to a cluster from DataLensEnabling access to a cluster from DataLens

To enable DataLens to connect to your cluster and work with its data, enable DataLens access when creating or reconfiguring the cluster.

Creating a cluster connectionCreating a cluster connection

Management console
  1. Make sure DataLens is activated in the relevant folder and has permission to access the cluster.

  2. Go to Managed Service for MySQL.

  3. Click the cluster name and select the DataLens tab.

  4. Click Create connection.

    I have no Create connection button

    If you see a message saying DataLens not activated instead of the Create connection button, it means that you either have not activated DataLens yet or have activated it in a different folder. To connect your cluster to a DataLens instance from another folder, follow this DataLens guide.

  5. Set up your connection.

  6. In the top-right corner, select the connection scope from the drop-down list:

    • Available only to me.
    • Available to the company.
  7. Check that the settings are correct by clicking Check connection.

  8. After a successful check, click Create connection.

  9. Specify a name for the connection.

  10. Click Create.

After creating the connection, you can:

  • Update or delete this connection.
  • Use this connection to create datasets from the cluster data.
  • Visualize the datasets using charts and dashboards.

Viewing a list of cluster connectionsViewing a list of cluster connections

Management console
  1. Go to Managed Service for MySQL.
  2. Click the cluster name and select the DataLens tab.

Updating a cluster connectionUpdating a cluster connection

Management console
  1. Go to Managed Service for MySQL.
  2. Click the cluster name and select the DataLens tab.
  3. Select the connection from the list.
  4. Edit the connection settings and scope as needed.
  5. Check that the settings are correct by clicking Check connection.
  6. After successfully checking the connection, click Save.

Deleting a cluster connectionDeleting a cluster connection

Management console
  1. Go to Managed Service for MySQL.
  2. Click the name of your cluster and open the DataLens tab.
  3. Select the connection from the list.
  4. Click at the top of the page and select Delete.
  5. In the window that opens, click Delete.

Connection settingsConnection settings

Management console

If your cluster and DataLens are in the same folder:

  1. Open the Select in folder tab.
  2. Select the cluster and its host from the drop-down lists or create a new cluster in the folder with DataLens by clicking Create new.
  3. Select the database and user from the drop-down lists.
  4. Enter the user password. See also Creating a connection to MySQL® in Yandex DataLens and Configuring access in the DataLens documentation.

If your cluster and DataLens are in different folders:

  1. Navigate to the Specify manually tab.
  2. Use the settings from this DataLens guide.

Was the article helpful?

Previous
Monitoring the state of a cluster and its hosts
Next
Resource relationships
© 2025 Direct Cursus Technology L.L.C.