Wednesday, August 25, 2021

cassandra database install and connection

 installing cassandra:

https://linuxize.com/post/how-to-install-apache-cassandra-on-ubuntu-20-04/

https://cassandra.apache.org/_/download.html

https://cassandra.apache.org/doc/latest/cassandra/getting_started/installing.html


to connect from network:

/etc/cassandra/cassandra.yaml

Change rpc_address: 0.0.0.0 broadcast_rpc_address: 1.2.3.4 (Should not be 0.0.0.0) . for Cassandra version 2.1.10


https://stackoverflow.com/questions/26795479/all-hosts-tried-for-query-failed-error

https://stackoverflow.com/questions/36133127/how-to-configure-cassandra-for-remote-connection


port:9042

username: cassandra

password: cassandra

No comments:

Post a Comment