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

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.

主站蜘蛛池模板: 通渭县| 漳浦县| 长兴县| 轮台县| 三穗县| 赤峰市| 延津县| 沅江市| 西藏| 镇巴县| 宁南县| 理塘县| 巴青县| 靖西县| 闻喜县| 汽车| 汤阴县| 青浦区| 乐亭县| 岐山县| 石阡县| 宜城市| 句容市| 隆德县| 公安县| 阜阳市| 始兴县| 霍林郭勒市| 开平市| 云南省| 萍乡市| 长宁县| 岳西县| 喀什市| 思南县| 浪卡子县| 扎鲁特旗| 新巴尔虎右旗| 九台市| 伊吾县| 崇礼县|