Importing JDBC driver files for data sources

An administrator can upload the JDBC driver files that are needed to create custom JDBC connectors, create Generic JDBC connections, or to use some of the predefined connectors.

Important: 4.8.4 or later Uploading JDBC drivers is disabled by default.

4.8.5 or later By default, users cannot view the list of JDBC drivers in the web client for new installations.

An administrator must enable users to upload or view JDBC drivers.

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 both of 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 to 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: