官术网_书友最值得收藏!

The command line interface

Couchbase also provides the CLI to interact with the Couchbase cluster. You can perform almost all the functionalities that were performed using the web console by using CLI. Since most administrative activities can be performed using the web UI, it won't be explained here due to space constraints. Let me provide a sample command for better understanding. However, you can refer to the Couchbase documentation for details.

You can find all CLI tools in the installation folder. In our case, the installation folder is at C:\Program Files\Couchbase\Server\bin. For Linux, you can find this at /opt/couchbase/bin path.

In order to determine all the buckets in a cluster, you can execute the following command:

couchbase-cli bucket-list -c localhost:8091 -u Administrator -p root123

This is what the output looks like:

The couchbase-cli command accepts the bucket-list parameters to view all buckets in the cluster which is specified with the -c parameter.

主站蜘蛛池模板: 台安县| 永和县| 宁陵县| 安溪县| 靖远县| 通渭县| 亳州市| 深州市| 阿尔山市| 九龙县| 巴林左旗| 隆德县| 隆德县| 满洲里市| 浠水县| 安国市| 拉孜县| 武陟县| 贞丰县| 哈巴河县| 泰兴市| 家居| 胶南市| 黔江区| 共和县| 浮梁县| 永州市| 郴州市| 旬邑县| 拜泉县| 高邑县| 万宁市| 中卫市| 遂川县| 汽车| 渭南市| 海门市| 湄潭县| 兰坪| 中山市| 若羌县|