phpcassa | Elegant Cassandra PHP client with TimeUUID | Email library
kandi X-RAY | phpcassa Summary
kandi X-RAY | phpcassa Summary
Email hoan.tonthat@gmail.com with any questions. We also have a google group to ask questions:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Open the pool
- Read from the stream .
- Read a map
- Read a 64 - bit integer
- Read a field .
- Get an attribute
- Receive a message from the server
- Returns true if the iterator is valid .
- Generate a unique name
- Add a node to the cluster
phpcassa Key Features
phpcassa Examples and Code Snippets
Community Discussions
Trending Discussions on phpcassa
QUESTION
I can't create keyspace on cassandra running under docker containor with PHP. The connexion seems to be ok but i have nothing created. when i run DESCRIBE keyspaces;
i have only keyspaces created by default.
I'm using thobbs/phpcassa
bundle to connect php with cassandra.
I think that the problem seems to be with login and password.
In this bundle, i didn't found where i put them. When i connect to cassandra container, i can connect by this command cqlsh -u cassandra -p cassandra 172.24.0.1 9042
Bellow is my code on index.php
...ANSWER
Answered 2020-Jul-10 at 14:17Please don't use thobbs/phpcassa
- it's very old, and it uses legacy Thrift protocol under the hood... The correct way is to work with Cassandra now is to use PHP driver from DataStax. Authentication is fully supported there (doc), like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install phpcassa
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page