Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "CassandraCli" page has been changed by chrisoei.
The comment on this change is: Changed the port number in the second example to 
9160 (the default port) instead of 9170..
http://wiki.apache.org/cassandra/CassandraCli?action=diff&rev1=15&rev2=16

--------------------------------------------------

  If you are using SimpleAuthenticator (instead of AllowAllAuthenticator) you 
can specify the username, password and keyspace by adding the following options 
to cassandra-cli: -username username -password password -keyspace keyspace):
  
  {{{
- tbl...@quasar:~/dev/workspaces/cassandra$ bin/cassandra-cli -host localhost 
-port 9170 -username todd -keyspace Keyspace1 -password blah
+ tbl...@quasar:~/dev/workspaces/cassandra$ bin/cassandra-cli -host localhost 
-port 9160 -username todd -keyspace Keyspace1 -password blah
- Connected to: "Test Cluster" on localhost/9170
+ Connected to: "Test Cluster" on localhost/9160
  Welcome to cassandra CLI.
  
  Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.

Reply via email to