Ytake/laravel-couchbase LCB_AUTH_ERROR

I’m new to use couchbase, I have uploaded package from ‘’,

using laravel 5.5.

and I follow with the readme like below

in app/config.php:

    'couchbase' => [
        'driver' => 'couchbase',
        'host' => 'couchbase://',
        'user' => 'test', // optional administrator
        'password' => 'test123', // optional administrator
        // optional configuration / management operations against a bucket.
        'administrator' => [
            'user'     => 'Administrator',
            'password' => 'password',

in controller file:
public function index(){

    /* it can work
    $cluster = new \CouchbaseCluster('');
    $bucket =$cluster->openBucket('mall_orders');
    $query = \CouchbaseN1qlQuery::fromString('SELECT * FROM mall_orders ');
    $results = $bucket->query($query);



and I got a problem
LCB_AUTH_ERROR: Authentication failed. You may have provided an invalid username/password combination (SQL: select * from mall_activities)

Hi @2101132099,

This question probably belongs in the PHP forum:

I’m no PHP expert, but does a user named “test” exist with a password of “test123”? Does an administrator exist with a username of “Administrator” and password of “password”?

Also, you might want to try asking over on the GitHub project itself. I’ll also tag @avsej, he might also be able to help.