![]() ![]() However, if I try to connect to the local cassandra cluster using $cluster = \Cassandra::cluster()->build() then it works like a charm. The DbSchema driver is open source and can be found at http://. One available tool is TablePlus, an easy-to-use database manager. DbSchema connects to Cassandra using its own JDBC driver which calls the native Cassandra driver. MySQL, PostgreSQL, SQL Server, Oracle, Cassandra, Snowflake, SQLite, BigQuery, and 20+ more). The last line is the one producing the error. There are many tools available that you can use to connect to your Local site databases. It connects to all popular databases (e.g. ![]() The error producing PHP code is the following: Install Cassandra C driver Install Cassandra C Driver using your choice of package manager, here is an example using NuGet. Once installed create a new Console C project. ![]() The funny thing is that using the remote cluster's ip and using the DevCenter, I managed to connect to that cluster, create a new keyspace (SimpleStrategy, RF:2), create a new table and add one row of data. Go to visualstudio to download and install Visual Studio. However, we decided to move to a remote Cassandra cluster (3.4 with native protocol 4) and I cannot access it through PHP as I get the following error: An error occured: 16777226 - No hosts available for the control connection. I was developing it on my local machine using PHP 5.6.17, Cassandra 2.2.3 and the Datastax PHP Driver 1.1.0 and everything went fine. I am currently involved in creating an API that uses a Cassandra cluster with 3 nodes for storing data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |