Queries in Yandex WebSQL
Written by
Updated at October 14, 2024
You can send queries to databases in a Yandex Managed Service for Valkey™ cluster using Yandex WebSQL.
WebSQL is a Yandex Cloud service that allows you to connect to managed database clusters, work with DBs, tables, and schemas, and run queries. It is a web-based tool that requires no additional authorization and simplifies working with Valkey™ commands by suggesting prompts.
To connect from WebSQL to a Yandex Managed Service for Valkey™ cluster, create a connection:
- Go to the folder page and select Yandex Managed Service for Valkey™.
- Click the cluster name.
- Enable WebSQL access in the cluster settings if it is not enabled yet.
- Select the WebSQL tab.
- Click Create connection and specify the connection parameters:
- Connection name.
- Database type: Valkey™.
- Cluster: Defaults to your current Valkey™ cluster.
- Username you will use to connect to the database in the cluster.
- User password.
- 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 configured.
- Click Create.
To open the query editor, click the created connection on the WebSQL tab.
For more information about working with WebSQL, see its documentation.