Skip to content

Connect to node with Database Manager #704

@Jasperav

Description

@Jasperav

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions