Help

Guidance coming soon for Cloudant, Db2, and Db2 Warehouse!

This guidance is currently applicaple to IBM Cloud Database services only.

Get started with CLI on your local terminal

You will need some installations so you can access all the features of IBM Cloud Databases

Prerequisite

IBM Cloud CLI installed and initialized

Make sure that you downloaded, installed, and initialized the IBM Cloud CLI.

1

Install the IBM Cloud Databases plug-in

The Cloud Databases CLI plug-in offers extra methods of accessing the capabilities of the Cloud Databases services. The plug-in enables you to manage your deployment from the command line, but does not allow you to interact with the underlying database.

$ ibmcloud plugin install cloud-databases
Optional

Verify the plug-in is installed and see available commands

Verify the plug-in is installed:
$ ibmcloud plugin list
This is an example output you should expect for successful installation:
Plugin Name
cloud-databases/cdb
Version
1.36.0
Status
Check out the complete list of CLI commands:
$ ibmcloud cdb help
2

Install external database management plug-in

To enable full management and use of your underlying database via the CLI, you need to install an external database management plug-in. If the external plugin is needed for connection via the Cloud Databases CLI plugin then it will be labelled as required.

External plug-in:psql(required)
Next: