cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "priya swaiin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-11581) Cassandra connection failed
Date Fri, 15 Apr 2016 07:00:35 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-11581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242539#comment-15242539
] 

priya swaiin edited comment on CASSANDRA-11581 at 4/15/16 7:00 AM:
-------------------------------------------------------------------

Thanks [~snazy] 
Is any setting is required on cassandra.yaml file?


was (Author: priya123):
Thanks [~snazy] 

> Cassandra connection failed
> ---------------------------
>
>                 Key: CASSANDRA-11581
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11581
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: priya swaiin
>
> I am not able to connect to cassandra which installed in VM.
> Can anyone help me out  to resolve the below issue ?
> Cluster cluster = Cluster.Builder().AddContactPoint("127.0.0.1").Build();
>                  Metadata metadata = cluster.Metadata;
>                  ISession session = cluster.Connect();// ("demo");
>                  session.Execute("insert into emp (emp_id,emp_name,emp_phone) values
(6, 'suman','12345678' )");
>                  Console.WriteLine("Save secess");
>                 Console.Read();



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message