Unable to Start Crowd Due to Missing JDBC Driver

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

The following errors may appear in atlassian-crowd.log file:

1 2 2013-02-14 15:26:22,877 main ERROR [org.hibernate.connection.C3P0ConnectionProvider] JDBC Driver class not found: com.mysql.jdbc.Driver java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
1 2 2017-11-01 15:34:53,393 http-bio-8095-exec-11 ERROR [console.action.setup.Database] Unable to connect to database: java.sql.SQLException: No suitable driver found for jdbc:postgresql://localhost:5432 com.atlassian.config.bootstrap.BootstrapException: java.sql.SQLException: No suitable driver found for jdbc:postgresql://localhost:5432

Cause #1

JDBC driver is not loaded

The appropriate JDBC driver (in the example above, the MySQL jdbc driver) has not been installed

Resolution #1

Download the latest driver from the manufacturer's website and insert it into <crowd-install>/apache-tomcat/lib directory.

Please refer to the following documentation on configuring the database:

Cause #2

JDBC URL is in wrong syntax

Entering the wrong JDBC URL syntax will throw a similar error:

(Auto-migrated image: description temporarily unavailable)

Resolution #2

Check the default JDBC URL to access the database provided by Crowd and make sure you are using the correct syntax.

In the case above, we are not specifying which database Crowd will connect with. The correct syntax would be like:

1 jdbc:postgresql://localhost:5432/crowd
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.