cli: cockroach sql
fails after successful connect
and start-single-node
without arguments
#61616
Labels
A-authentication
Pertains to authn subsystems
A-cli-admin
CLI commands that pertain to controlling and configuring nodes
A-cli-client
CLI commands that pertain to using SQL features
A-security
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
S-3-ux-surprise
Issue leaves users wondering whether CRDB is behaving properly. Likely to hurt reputation/adoption.
T-server-and-security
DB Server & Security
Projects
The following two commands succeed without any additional arguments:
Then after issuing the following command, which was recommended by the output of
connect
:invocation of
cockroach sql
without argument fails:This is because of a design mismatch:
connect
andstart
commands use the "hostname" of the machinesql
and other client commands default tolocalhost
connect
command does not populatelocalhost
into the cert unless requested explicitlyWhat to do about this?
cc @aaron-crl @itsbilal
Part of #60632
Jira issue: CRDB-6274
Epic: CRDB-6663
The text was updated successfully, but these errors were encountered: