Importing JDBC driver files for data sources

An administrator can upload JDBC driver files (JAR files) for data sources. You might need to upload JDBC driver files to use some predefined connectors or to create Generic JDBC connections.

Who needs to complete this task?
Check the prerequisites for the connector to learn if a JDBC driver is required.
Required permissions
To import or delete JDBC drivers, you must have the following permissions:
  • Administer platform
  • Manage configurations
When do you need to complete this task?
Complete this task if you want to use a connector that requires a JDBC driver.

Common core services This feature is available only when the Cloud Pak for Data common core services are installed. The common core services are automatically installed by services that rely on them. If you don't see the Platform connections page, it's because none of the services that are installed on your environment rely on the common core services.

About this task

A cluster administrator or instance administrator can choose to prevent users from uploading driver files from the web client. In this scenario, the user interface for uploading JDBC driver files is unavailable and a cluster administrator or instance administrator must upload the JDBC driver files from the OpenShift® command-line interface.

File size limits

By default, you can upload:

  • A single JAR file up 150 MB
  • Multiple JAR files up to 750 MB total

The limits prevent malicious uploads of large files and the consumption of storage on the persistent volume.

However, if you cannot upload a JAR file that you need, a cluster administrator or instance administrator can increase the upload file size limit. For more information, see Increasing the file size limits for JDBC driver file uploads.

Procedure

Use the appropriate method for your environment: