Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: Reading while at end of stream in C:\xampp\htdocs\evseevnn-php-cassandra-binary\src\Protocol\Response\Rows.php on line 65 #73

Open
mahana123 opened this issue Jan 17, 2016 · 0 comments

Comments

@mahana123
Copy link

This is my code
namespace evseevnn;
include_once(DIR.DIRECTORY_SEPARATOR."vendor".DIRECTORY_SEPARATOR."autoload.php");

$nodes = [
    '127.0.0.1',
    '127.0.0.1:9042' => [
        'username' => '',
        'password' => ''
    ]
];

// Connect to database.
$database = new Cassandra\Database($nodes, 'keyspace1');
$database->connect();

// Run query.
$users = $database->query('SELECT * FROM "test"');
var_dump($users);

test table structure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant