Provide custom JDBC Drivers - Provide custom JDBC Drivers - Alfresco - Alfresco Search Enterprise - Alfresco/Alfresco-Search-Enterprise/4.2/Alfresco-Search-Enterprise/Configure/Overview/Support-for-different-databases/Provide-custom-JDBC-Drivers - 4.2 - 4.2

Alfresco Search Enterprise

Platform
Alfresco
Product
Alfresco Search Enterprise
Release
4.2
License
ft:lastPublication
2026-10-22T08:26:09.664000
ft:locale
en-US

Search Enterprise only provides the PostgreSQL driver by default and it is bundled with the Search Enterprise executable components. If you want to use a different database to PostgreSQL you must provide the correct JDBC configuration and corresponding driver. The drivers are loaded from a directory called db-drivers that must be present at the same directory level as the executable .jar file.

For example:

├── `alfresco-elasticsearch-reindexing-x.x.x-app.jar`
└── `db-drivers`
    └── `mydb-driver.jar`

If you are using Docker Compose to install Search Enterprise you must add the JDBC driver information inside the docker container.

For example:

services:
    reindexing-service:
        image: quay.io/alfresco/alfresco-elasticsearch-reindexing:latest
        mem_limit: 1024m
        environment:
        - ...
        volumes:
            - ./<location>/jdbc/drivers:/opt/db-drivers:ro