简体   繁体   中英

Can not connect to DataStax Enterprise Graph Db C# Driver

Why is this not working?

Getting the following error:

Dse.NoHostAvailableException: 'None of the hosts tried for query are available

with the following connection code:

IDseCluster dseCluster = DseCluster.Builder()
                .AddContactPoint("ourdomain.com").WithPort(9042)
                .WithAuthProvider(new DsePlainTextAuthProvider("---username--", "---password---"))
                .WithGraphOptions(new GraphOptions().SetName("DSE_GRAPH_QUICKSTART"))
                .Build();

            IDseSession session = dseCluster.Connect();

用户名和密码不正确...错误消息引起误解。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM