Skip to content

Commit

Permalink
Updates to cockroach sql commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ericharmeling committed Jun 30, 2021
1 parent 2bfc0f8 commit 7f979f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v21.1/movr-flask-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ In production, you want to start a secure CockroachDB cluster, with nodes on mac
e.g.,

~~~ shell
$ cockroach sql --url \ 'postgresql://user:[email protected]:26257/defaultdb?sslmode=verify-full&sslrootcert=certs-dir/movr-app-ca.crt' < dbinit.sql
$ cockroach sql --url \ 'postgresql://user:[email protected]:26257/defaultdb?sslmode=verify-full&sslrootcert=certs-dir/movr-app-ca.crt' -f dbinit.sql
~~~

{{site.data.alerts.callout_info}}
Expand Down
2 changes: 1 addition & 1 deletion v21.1/movr-flask-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ For debugging and development purposes, you can use the [`cockroach demo`](cockr

{% include copy-clipboard.html %}
~~~ shell
$ cockroach sql --insecure --url='postgresql://root@127.0.0.1:26257/defaultdb' -f dbinit.sql
$ cockroach sql --insecure --url='postgres://demo:<demo_password>@127.0.0.1:26257?sslmode=require' -f dbinit.sql
~~~


Expand Down

0 comments on commit 7f979f1

Please sign in to comment.