Cloud Databases through the CLI
The Cloud Databases Command Line Interface (CLI) plug-in offers extra methods of accessing the capabilities of the Cloud Databases services.
The IBM Cloud CLI
The IBM Cloud® CLI provides commands for managing resources in IBM Cloud. When you install the standalone IBM Cloud 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.
Installing the Cloud Databases CLI plug-in
After you install the IBM Cloud CLI, log in and install the Cloud Databases CLI plug-in, using a command like:
ibmcloud plugin install cloud-databases
For a list of commands and usage information, use a command like:
ibmcloud cdb help
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>]
Cloud Databases service-specific CLIs
Service | CLI client |
---|---|
Databases for MongoDB | The mongo Shell |
Databases for Elasticsearch | |
Databases for Redis | The Redis CLI |
Databases for PostgreSQL | psql |
Databases for EnterpriseDB | |
Databases for MySQL | mysql |
Messages for RabbitMQ | |
Databases for etcd | etcdctl |