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 MatthewChurcher: http://wiki.apache.org/cassandra/CassandraCli?action=diff&rev1=41&rev2=42 Comment: I'd missed out having to connect. The examples below have been tested with Cassandra 1.0.6. For instructions for previous versions of Cassandra see one of: [[CassandraCli07]], [[CassandraCli06]]. == Starting the CLI == - You can start the CLI using the {{{bin/cassandra-cli}}} script in your Cassandra installation ({{{bin\cassandra-cli.bat}}} on windows). The example below assumes that you are evaluating a local cassandra node. If this is true ensure your node has been correctly configured and successfully started before running the CLI. If you want to run commands on a remote node you will need to specify the {{{-host}}} command line argument. Use {{{bin/cassandra-cli -?}}} for more information on CLI arguments. + You can start the CLI using the {{{bin/cassandra-cli}}} script in your Cassandra installation ({{{bin\cassandra-cli.bat}}} on windows). If you are evaluating a local cassandra node then be sure that it has been correctly configured and successfully started before starting the CLI. If successful you will see output similar to this: {{{ Welcome to cassandra CLI. Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit. + }}} + + You must then specify a system to connect to: + {{{ connect localhost/9160; - Connected to: "Test Cluster" on localhost/9160 }}} == Creating a Keyspace ==
