copyright | lastupdated | subcollection | keywords | ||
---|---|---|---|---|---|
|
2025-01-22 |
cloud-databases |
cli |
{{site.data.keyword.attribute-definition-list}}
{: #icd-cli}
The {{site.data.keyword.databases-for}} Command Line Interface (CLI) plug-in offers extra methods of accessing the capabilities of the Cloud Databases services. {: shortdesc}
{: #icd-cli-ibm-cloud-cli}
The {{site.data.keyword.cloud}} CLI provides commands for managing resources in {{site.data.keyword.cloud_notm}}. When you install the standalone {{site.data.keyword.cloud_notm}} CLI, you get only the CLI itself without any recommended plug-ins or tools. For more information, see Installing the stand-alone IBM Cloud CLI{: external}.
{: #icd-cli-install}
After you install the {{site.data.keyword.cloud_notm}} CLI, log in and install the {{site.data.keyword.databases-for}} CLI plug-in, using a command like:
ibmcloud plugin install cloud-databases
{: .pre}
For a list of commands and usage information, use a command like:
ibmcloud cdb help
{: .pre}
On its own, the ibmcloud cdb help
command displays the available top-level commands. When followed by another command, it displays specific help for that command.
ibmcloud cdb help [<command>]
{: .pre}
{: #icd-cli-service-cli}
Service | CLI client |
---|---|
{{site.data.keyword.databases-for-mongodb}}{: external} | The mongo Shell{: external} |
{{site.data.keyword.databases-for-elasticsearch}}{: external} | |
{{site.data.keyword.databases-for-redis}}{: external} | The Redis CLI{: external} |
{{site.data.keyword.databases-for-postgresql}}{: external} | psql{: external} |
{{site.data.keyword.databases-for-enterprisedb}}{: external} | |
{{site.data.keyword.databases-for-mysql}}{: external} | mysql{: external} |
{{site.data.keyword.messages-for-rabbitmq}}{: external} | |
{{site.data.keyword.databases-for-etcd}}{: external} | etcdctl{: external} |
{: caption="{{site.data.keyword.databases-for}} service-specific CLI clients" caption-side="bottom"} |