Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect to node with Database Manager #704

Open
Jasperav opened this issue Jan 7, 2020 · 0 comments
Open

Connect to node with Database Manager #704

Jasperav opened this issue Jan 7, 2020 · 0 comments

Comments

@Jasperav
Copy link

Jasperav commented Jan 7, 2020

I want to run CQL in a database manager (CLion). So I want to connect to a node, but I can not get it to work. When running vanille Cassandra, I can connect. I tried connecting to 127.0.0.1:9160, but I get this exception:

The specified database user/password combination is rejected: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:9160 (com.datastax.driver.core.exceptions.TransportException: [/127.0.0.1:9160] Channel has been closed))

ccm status output:

Cluster: 'test'

node1: UP
node3: UP
node2: UP

ccm node1 ring output:

Note: Ownership information does not include topology; for complete information, specify a keyspace

Datacenter: datacenter1

Address Rack Status State Load Owns Token
3074457345618258602
127.0.0.1 rack1 Up Normal 78,8 KB 33,33% -9223372036854775808
127.0.0.2 rack1 Up Normal 78,72 KB 33,33% -3074457345618258603
127.0.0.3 rack1 Up Normal 78,67 KB 33,33% 3074457345618258602

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant