/
How to resolve the Unable to load database driver error

How to resolve the Unable to load database driver error

Symptoms

One or more SQL Macro returns the following error:

Error rendering macro 'sql-query' : Unable to load database driver: com.<TYPE>.jdbc.Driver. Make sure your configuration is correct.

Cause

The data source profile referenced by the SQL Macro is unable to physically locate the JDBC driver on your Confluence server. 

Resolution

Double check path and exact name of the JDBC file within the Configuration screen of the data source profile in question.

Related content