Closed riekelt closed 10 years ago
When using new \Cassandra\Database(["10.10.0.1"], 'keyspace') the connection fails, because it tries to connect to "0" (the array key).
The error is in Cluster.php on line 41: Should be $node = new Node($node); instead of $node = new Node($nodeKey);
Thank you. Fixed in 5517bdae7df4d7b41ea47af1c2e0ff9909ad8f54.
When using new \Cassandra\Database(["10.10.0.1"], 'keyspace') the connection fails, because it tries to connect to "0" (the array key).
The error is in Cluster.php on line 41: Should be $node = new Node($node); instead of $node = new Node($nodeKey);