[Yandex Cloud documentation](../../index.md) > [Yandex Managed Service for MySQL®](../index.md) > [Step-by-step guides](index.md) > Databases > SQL queries in Yandex WebSQL

# SQL queries in Yandex WebSQL

You can use [Yandex WebSQL](../../websql/index.md) to send SQL queries to Managed Service for MySQL® cluster databases.

WebSQL is a Yandex Cloud service that allows you to connect to managed database clusters, work with databases, tables, and schemas, and run queries. This service runs in the browser, requires no extra login, and simplifies work by providing hints for SQL commands.

To connect to a cluster from WebSQL, you must enable the **WebSQL access** option in the cluster settings. You can enable it when [creating](cluster-create.md) or [updating](update.md#change-additional-settings) a cluster.

The Managed Service for MySQL® cluster automatically creates a [Connection Manager](../../metadata-hub/concepts/connection-manager.md) connection for each database user, enabling database access from WebSQL. You can also [create a new connection](../../websql/operations/create-connection.md#connect-cluster) if needed.

To connect to the database from WebSQL:

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the folder containing your cluster.
  1. Navigate to **Managed Service for&nbsp;MySQL**.
  1. Click the cluster name and navigate to the **WebSQL** tab.
  1. Select the required connection.

      The connection will open in WebSQL. To open the query editor, select the required database.

      Check [this MySQL®](https://dev.mysql.com/doc/refman/9.0/en/sql-statements.html) reference for supported queries.
    
{% endlist %}

For more information on WebSQL, see [this guide](../../websql/operations/index.md).