How to run Apache Cassandra CQL in windows
Step 1: Install Apache Cassandra.
http://apachecassandra.blogspot.com/2013/01/apache-cassandra-on-windows-7.html
Step 2: Install Python.
http://www.python.org/download/releases/2.7.3/
Step 3: Add the Python executable path in the windows path variable, otherwise configure in the environment variable.
Open command prompt :
c:\> path =%path%;<python exe path>
Step 4: In the command prompt,navigate to cassandra\bin folder. (C:\cassandra\bin>)
Step 5: Execute the below command to start the CQL.
python cqlsh localhost 9160.
Hope this helps someone.
This comment has been removed by the author.
ReplyDeleteI get invalid syntax error for datastax community edition for windows, I used below command as is from your blog
ReplyDeletepython cqlsh localhost 9160
Let me check and get back to you.
ReplyDeleteThis could guide you better..
ReplyDeletehttp://www.edureka.co/blog/how-to-open-cqlsh-of-cassandra-installed-on-windows/
Thanks for providing this informative information. it is very useful you may also refer- http://www.s4techno.com/blog/category/cassandra/
ReplyDelete