Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-20896

cbq : error using -ne option

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.0, 5.0.0
    • 5.0.0
    • query
    • Triaged
    • Yes

    Description

      The -ne option is supposed to bring up cbq without connecting to any endpoint. However when we give this now, we get an error saying connection refused.
      This is incorrect.

      Worked fine with 4.5.0

      Ishas-MacBook-Pro:cbq isha$ ./cbq -ne
       No input credentials. In order to connect to a server with authentication, please provide credentials.
       ERROR 100 : N1QL: Connection failed Post http://localhost:8091/query/service: dial tcp [::1]:8091: getsockopt: connection refused
       N1QL: Unable to connect to cluster endpoint http://localhost:8091/. Error Get http://localhost:8091/pools: dial tcp [::1]:8091: getsockopt: connection refused 
       
       
       Path to history file for the shell : /Users/isha/.cbq_history 
      cbq> 
      cbq> select 1;
       ERROR 107 : Not connected to any cluster. Use \CONNECT command. 
       
      cbq> \quit;
      

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-20896
          # Subject Branch Project Status CR V

          Activity

            People

              prasanna.gholap Prasanna Gholap [X] (Inactive)
              isha Isha Kandaswamy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty