You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/05/29 20:09:21 UTC
[GitHub] [cassandra-website] dominem commented on pull request #117: CASSANDRA-17486 CQLSH broken as per the quick start documentation
dominem commented on PR #117:
URL: https://github.com/apache/cassandra-website/pull/117#issuecomment-1140516934
This PR really helped me with the quickstart. Thank you @sathyakplm!
I was stuck on step 4:
```fish
dm@dm-pc ~> docker run --rm --network cassandra -v (pwd)"/data.cql:/scripts/data.cql" -e CQLSH_HOST=cassandra -e CQLSH_PORT=9042 nuvo/docker-cqlsh
Checking connection to cassandra...
Can't establish connection, will retry again in 1 sconds
Can't establish connection, will retry again in 2 sconds
^CCan't establish connection, will retry again in 3 sconds
Can't establish connection, will retry again in 4 sconds
Can't establish connection, will retry again in 5 sconds
Failed to connect to cassandra at cassandra:9042
```
With `-e CQLVERSION=3.4.5` all went well:
```fish
dm@dm-pc ~> docker run --rm --network cassandra -v (pwd)"/data.cql:/scripts/data.cql" -e CQLSH_HOST=cassandra -e CQLSH_PORT=9042 -e CQLVERSION=3.4.5 nuvo/docker-cqlsh
Checking connection to cassandra...
Connected to Test Cluster at cassandra:9042.
Executing /scripts/data.cql...
Done.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org