Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add details on connecting to a virtual cluster using native cockroach sql options

Open
#22,998 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
55/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
sql
Domain
cli, documentation

Research direction

Open the work-with-virtual-clusters documentation page and review its existing PostgreSQL URL connection instructions. Add the documented cockroach sql --database cluster:/ option, then verify that the example clearly explains when it can be used alongside the URL approach.

Written by the indexing model from the issue text.

Description

Regarding this page: https://www.cockroachlabs.com/docs/stable/work-with-virtual-clusters

It describes how to connect to a virtual cluster by using a long-winded postgresql URL (postgresql://..... While this is fine, there's also the option to use the cockroach sql client like this:

cockroach sql --database cluster:<cluster name>/<database>

Sometimes, passing the cluster name in like this is easier than construction a long postgresql URL.

Could we add the use of cockroach sql --database to this page?

Jira issue: DOC-16297

Dominant language
HTML
Stars
212
Forks
479
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.