/
Access to Cassandra

Access to Cassandra

Valid from Datafari X.X

If you need to access to Cassandra (into main server if you are in multiservers mode), this is how to do it.

Do a SSH connection to the server than go to Cassandra folder (replace $DATAFARI_HOME with the path to your Datafari) :

cd $DATAFARI_HOME/cassandra

Connect to Cassandra thanks to cqlsh :

bin/cqlsh

You will obtain this screen with the cqlsh prompt :

Then enter this command to be connected to the datafari keyspace :

USE datafari ;

To see all the tables present, use this command :

Finally to do a select query into a table, you can use SELECT command. For example, if I want to display all the users the command will be :

Related content

Reinitialize the admin password
Reinitialize the admin password
More like this
Datafari database model diagram (Cassandra)
Datafari database model diagram (Cassandra)
More like this
Understanding Security Realms
Understanding Security Realms
More like this
[DEPRECATED] Datafari standalone - Community Edition
[DEPRECATED] Datafari standalone - Community Edition
More like this
Setup development environment with Eclipse (Linux) for Datafari 4.x
Setup development environment with Eclipse (Linux) for Datafari 4.x
More like this
[DEPRECATED] Setup development environment with Eclipse (Linux) for Datafari 3.1
[DEPRECATED] Setup development environment with Eclipse (Linux) for Datafari 3.1
More like this