Database JDBC Drivers

This page provides the download links for the JDBC drivers for all supported databases. 

Due to licensing constraints, we are not able to bundle MySQL or Oracle database drivers with Confluence, so you will need to manually download and install the driver listed below before you can set up Confluence. 

If you use PostgreSQL or Microsoft SQL Server, the drivers are bundled with Confluence, so you're ready to. 

Adding your database driver (MySQL and Oracle)

The Confluence setup wizard will stop you at the Database configuration step if it can't find an appropriate driver for the database you select.   

To make your database driver available to Confluence:

  1. Stop Confluence.
  2. Download and extract the appropriate driver from the list below.
  3. Drop the .jar file in your <installation-directory>/confluence/WEB-INF/lib directory.
  4. Restart Confluence then go to http://localhost:<port> in your browser to continue the setup process.

The setup wizard will return to the database configuration step, and you're back on your way.  

Supported drivers

On this page:


Related pages:

Database

Driver bundled?

JDBC drivers

NotesMore information

PostgreSQL

(tick)

Postgres JDBC driver download (latest)



We recommend that you use the bundled JDBC 42.5.0 driver.

If you want to use a later driver, you can download it from the PostgreSQL website.

Database Setup for PostgreSQL

Microsoft SQL Server

(tick)Microsoft JDBC Driver for SQL Server download 

We recommend that you use the bundled Type 4 JDBC driver.

If you decide to use a later version, we may not be able to provide support for any problems you encounter.

Database setup for Microsoft SQL Server

(tick)

jTDS 1.3.1 driver download


(warning) This driver is deprecated. New Confluence installations use the Microsoft JDBC Driver for SQL Server (above).  

If you're upgrading an existing Confluence site to Confluence 6.4 you should continue to use the bundled jTDS driver. We'll help you migrate to the Microsoft driver in a later release.

MySQL 5.7

(error)

Connector\J 5.1 driver download


Due to licensing constraints, MySQL drivers are not bundled with Confluence.

Confluence is currently tested with the 5.1.48 driver.

You can't use the latest driver (8.x) with Confluence and MySQL 5.7.

Database setup for MySQL
MySQL 8.0(error)Connector\J 8.0 driver download

Due to licensing constraints, MySQL drivers are not bundled with Confluence.

Confluence is currently tested with the 8.0.22 driver.

Database setup for MySQL

Oracle

(error)

JDBC driver downloads

Due to licensing constraints, Oracle drivers are not bundled with Confluence.

For Oracle 19c you can use either ojdbc8.jar or ojdbc10.jar.

We recommend using the thin drivers only. See the Oracle JDBC driver FAQ.

Database setup for Oracle


If you attempt to use an unsupported or custom JDBC driver (or a driverClassName from an unsupported or custom driver in your JINDI datasource connection) collaborative editing will fail. You must use a supported driver. 

Last modified on Feb 21, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.