Important:

IBM Cloud Pak® for Data Version 4.8 will reach end of support (EOS) on 31 July, 2025. For more information, see the Discontinuance of service announcement for IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.8 reaches end of support. For more information, see Upgrading from IBM Cloud Pak for Data Version 4.8 to IBM Software Hub Version 5.1.

IBM Cloud Databases for MySQL connection

To access your data in IBM Cloud Databases for MySQL, create a connection asset for it.

IBM Cloud Databases for MySQL extends the capabilities of MySQL by offering an auto-scaling deployment system managed on IBM Cloud that delivers high availability, redundancy, and automated backups. IBM Cloud Databases for MySQL was formerly known as IBM Cloud Compose for MySQL.

Create a connection to IBM Cloud Databases for MySQL

To create the connection asset, you need these connection details:

  • Database name
  • Hostname or IP address
  • Port number
  • Username and password

For Credentials and Certificates, you can use secrets if a vault is configured for the platform and the service supports vaults. For information, see Using secrets from vaults in connections.

Choose the method for creating a connection based on where you are in the platform

In a project
Click Assets > New asset > Data access tools > Connection. See Adding a connection to a project.
In a catalog
Click Add to catalog > Connection. See Adding a connection asset to a catalog.
In a deployment space
Click Add to space > Connection. See Adding connections to a deployment space.
In the Platform assets catalog
Click New connection. See Adding platform connections.

Next step: Add data assets from the connection

Where you can use this connection

You can use IBM Cloud Databases for MySQL connections in the following workspaces and tools:

Projects

  • Cognos Dashboards (Cognos Dashboards service)
  • DataStage (DataStage service). See Connecting to a data source in DataStage.
  • Metadata enrichment (IBM Knowledge Catalog)
  • Metadata import (IBM Knowledge Catalog)
  • Notebooks (Watson Studio). Click Read data on the Code snippets pane to get the connection credentials and load the data into a data structure. See Load data from data source connections.
  • SPSS Modeler (SPSS Modeler service)
  • Synthetic Data Generator (Synthetic Data Generator service)
  • Watson Machine Learning Accelerator (Watson Machine Learning Accelerator service)

Catalogs

  • Platform assets catalog

  • Other catalogs (IBM Knowledge Catalog)

Federal Information Processing Standards (FIPS) compliance

  • 4.8.0 and 4.8.1: This connection is compliant with FIPS if you installed Cloud Pak for Data on or prior to January, 22, 2024.
  • 4.8.2 and later: This connection is not compliant with FIPS, but it is FIPS-tolerant.

IBM Cloud Databases for MySQL setup

IBM Cloud Databases for MySQL

Restriction

For SPSS Modeler, you can use this connection only to import data. You cannot export data to this connection or to an IBM Cloud Databases for MySQL connected data asset.

Learn more

IBM Cloud Databases for MySQL Help

Parent topic: Supported connections