0

my cassandra database - could not connect to localhost

I am trying to open my cassandra database . and facing this problem while accessing

[root@localhost ~]# cqlsh
Connection error: Could not connect to localhost:9160

How to solve?

Cassandra Database Add a comment
jacob
asked Dec 13 2018

Answer

0

You need to start and enable the cassandra service to establish a connection

You can do this by using following command

#systemctl start cassandra
#systemctl enable cassandra

Now open the cassandra.

Add a comment
linuxhelp
asked Dec 14 2018
Post your Answer