Couchbase 5 bucket password setting

前端 未结 3 1169
无人及你
无人及你 2021-01-14 23:10

I am trying to write a sample in order to learn couchbase. I am trying to use it with spring boot and it’s crud repositories .

So I have downloaded latest docker ima

3条回答
  •  [愿得一人]
    2021-01-15 00:04

    I faced the same issue. I started debugging by getting into AbstractCouchbaseConfiguration and there i found

    public abstract class AbstractCouchbaseConfiguration
        extends AbstractCouchbaseDataConfiguration implements CouchbaseConfigurer {
    
      ....//some other configuration
    
    
    @Override
    @Bean(name = BeanNames.COUCHBASE_CLUSTER_INFO)
    public ClusterInfo couchbaseClusterInfo() throws Exception {
      return couchbaseCluster().clusterManager(getBucketName(), getBucketPassword()).info();
    }
    

    What i did is created a bucket with the same name as of my couchbase user.

    couchbase username : userdetail

    couchbase password : ******

    bucket name : userdetail

提交回复
热议问题