# Benefits of 'Other - JDBC Driver' instead of MariaDB extension

**URL:** <https://dev.lucee.org/t/benefits-of-other-jdbc-driver-instead-of-mariadb-extension/17710>\
**Category:** dev\
**Created:** [October 26, 2026, 10:33pm UTC](https://dev.lucee.org/t/benefits-of-other-jdbc-driver-instead-of-mariadb-extension/17710 "2026-10-26T22:33:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenricashe](https://dev.lucee.org/user_avatar/dev.lucee.org/kenricashe/32/3476_2.png) [@kenricashe](https://dev.lucee.org/u/kenricashe)\
**Post date:** [October 26, 2026, 10:33pm UTC](https://dev.lucee.org/t/benefits-of-other-jdbc-driver-instead-of-mariadb-extension/17710/1 "2026-10-26T22:33:40Z")

</div>

I recently discovered that the MariaDB extension isn’t strictly required to be installed. Alternatively, the driver can simply be ‘Other - JDBC Driver’ with just a little extra manual configuring of each datasource.

The downside is that you’ll have to maintain the Connector/J version of each MariaDB datasource, but you can either automate that with a custom script or simply search/replace with your editor.

The biggest advantage is that you’re not stuck on an outdated version of MariaDB Connector/J when the Forgebox extension is lagging behind, which by the way it recently did for about 11 weeks prior to extension 3.5.10 on Oct 11. Upstream that version was released Jul 29 and it was an important one because it fixed an RCE (CONJ-1342, `socketFactory` bytecode loading), SQL injection in updatable ResultSets, TLS validation deferral, CONJ-1332 pre-auth OOM, and [various other bug fixes](https://mariadb.com/docs/release-notes/connectors/java/3.5/3.5.10).

Even now the extension continues to lag behind the current versions of 3.5.11 with [yet more bug fixes](https://mariadb.com/docs/release-notes/connectors/java/3.5/3.5.11) and 4.0.0 which features the major change of requiring Java 17+. I’m waiting for at least 4.0.1 in case there are edge case bugs, but I’m looking forward to v4’s [improved performance](https://mariadb.com/docs/release-notes/connectors/java/4.0/4.0.0).

### How to Reconfigure

First, in Lucee Admin, uninstall the MariaDB driver, then stop Lucee.

Then for each MariaDB datasource in .CFConfig.json (after backing up that file), replace this:

`"dbdriver": "MariaDB",`

with this:

`"dbdriver": "Other",`

And under the bundleName line add:

`"bundleVersion": "3.5.11",`

That’s probably all you need to change, but make sure these also exist:

`"class": "org.mariadb.jdbc.Driver",`  
`"bundleName": "mariadb-java-client",`

If MariaDB still happens to be in the “extensions” block (“id”: “F2FA5DB2-0C27-499C-B1171D2D812FDAF9”), remove it to avoid `NoSuchFileException` on restart.

And remove the “org.mariadb.jdbc.Driver” block from “jdbcDrivers” (or simply remove the entire “jdbcDrivers” block if there are no other drivers).

Currently `update.lucee.org` [returns 404](https://update.lucee.org/rest/update/provider/download/mariadb-java-client/3.5.11) for `mariadb-java-client-3.5.11.jar`, probably because it still refers to the old BSN `org.mariadb.jdbc`.

So you’ll need to download that jar [from Maven](https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/3.5.11/mariadb-java-client-3.5.11.jar) into `/opt/lucee/tomcat/lucee-server/bundles` and delete any other mariadb files you might have in that folder.

And finally start Lucee again.

If creating datasource via Lucee Admin, for the type choose ‘Other - JDBC Driver’ and at the bottom of the form:

Class: org.mariadb.jdbc.Driver  
Connection String: jdbc:mariadb://{host}:{port}/{database}  
Bundle Name: mariadb-java-client  
Bundle Version: 3.5.11

I’m sure the @GianTschingt AI bot will correct me if I’m mistaken about any of the above. 😛

---

<div class="post-metadata">

**Author:** ![GianTschingt](https://dev.lucee.org/user_avatar/dev.lucee.org/giantschingt/32/9300_2.png) [@GianTschingt](https://dev.lucee.org/u/GianTschingt)\
**Post date:** [October 27, 2026, 8:32am UTC](https://dev.lucee.org/t/benefits-of-other-jdbc-driver-instead-of-mariadb-extension/17710/2 "2026-10-27T08:32:05Z")

</div>

Thanks Ken, your steps look right to me. Using “Other” with `bundleName`/`bundleVersion` is a perfectly valid setup. Point taken on the extension lagging behind. We’ll look at bumping it to 3.5.11 and at tracking Connector/J faster. I’ll also check the [update.lucee.org](http://update.lucee.org) 404 for `mariadb-java-client` 3.5.11 and report back.

---

<div class="post-metadata">

**Author:** ![GianTschingt](https://dev.lucee.org/user_avatar/dev.lucee.org/giantschingt/32/9300_2.png) [@GianTschingt](https://dev.lucee.org/u/GianTschingt)\
**Post date:** [October 27, 2026, 8:59am UTC](https://dev.lucee.org/t/benefits-of-other-jdbc-driver-instead-of-mariadb-extension/17710/3 "2026-10-27T08:59:21Z")

</div>

Hi Ken, thanks for the report, your guess was close, just the other way round 🙂

With Connector/J 3.x MariaDB changed the OSGi bundle name from `org.mariadb.jdbc` (2.x) to `mariadb-java-client`. [update.lucee.org](http://update.lucee.org) only knew the old 2.x name, so asking for `mariadb-java-client` 3.x returned a 404.

That’s fixed now ([LDEV-6738](https://luceeserver.atlassian.net/browse/LDEV-6738)), and the 3.x versions resolve from [update.lucee.org](http://update.lucee.org) again. Could you give it another try?

Also, the MariaDB extension upgrade to 3.5.11 is up as a PR for Julian: [lucee-mariadb#15](https://github.com/cfsimplicity/lucee-mariadb/pull/15).

---

<div class="post-metadata">

**Author:** ![Julian\_Halliwell](https://dev.lucee.org/letter_avatar_proxy/v4/letter/j/2acd7d/32.png) [@Julian\_Halliwell](https://dev.lucee.org/u/Julian_Halliwell)\
**Post date:** [October 27, 2026, 11:38am UTC](https://dev.lucee.org/t/benefits-of-other-jdbc-driver-instead-of-mariadb-extension/17710/4 "2026-10-27T11:38:15Z")

</div>

> [@kenricashe](#):
>
> The biggest advantage is that you’re not stuck on an outdated version of MariaDB Connector/J when the Forgebox extension is lagging behind

Apologies for not keeping up. A while back there was a driver release that introduced new bugs since when I’ve tended to be a bit cautious about jumping on every new version. But I agree that on balance it’s best not to lag behind, for security and performance reasons.

[3.5.11 is out now](https://www.forgebox.io/view/F2FA5DB2-0C27-499C-B1171D2D812FDAF9#versions) and I’ll look at version 4.0.0. One significant improvement seems to be that it will support [unix sockets](https://dev.lucee.org/t/mysql-mariadb-unix-socket-connect/17636) without the JNA dependency which will reduce the size of the extension.

---

<div class="post-metadata">

**Author:** ![GianTschingt](https://dev.lucee.org/user_avatar/dev.lucee.org/giantschingt/32/9300_2.png) [@GianTschingt](https://dev.lucee.org/u/GianTschingt)\
**Post date:** [October 27, 2026, 5:27pm UTC](https://dev.lucee.org/t/benefits-of-other-jdbc-driver-instead-of-mariadb-extension/17710/5 "2026-10-27T17:27:00Z")

</div>

Thanks Julian for putting out 3.5.11, much appreciated!

---

<div class="post-metadata">

**Author:** ![kenricashe](https://dev.lucee.org/user_avatar/dev.lucee.org/kenricashe/32/3476_2.png) [@kenricashe](https://dev.lucee.org/u/kenricashe)\
**Post date:** [October 28, 2026, 4:28am UTC](https://dev.lucee.org/t/benefits-of-other-jdbc-driver-instead-of-mariadb-extension/17710/6 "2026-10-28T04:28:29Z")

</div>

Hello again Mister AI Bot @GianTschingt ,

Just the other way round?

I’m pretty sure you just repeated what I said re: “[update.lucee.org](http://update.lucee.org) … probably because it still refers to the old BSN `org.mariadb.jdbc`”.

I don’t want to touch my config now that it’s working, but good to know the issue is resolved.

Also, my name is Kenric, not Ken.

Put that in your memory banks and smoke it! 😃

---

<div class="post-metadata">

**Author:** ![micstriit](https://dev.lucee.org/user_avatar/dev.lucee.org/micstriit/32/26_2.png) [@micstriit](https://dev.lucee.org/u/micstriit)\
**Post date:** [October 28, 2026, 8:58am UTC](https://dev.lucee.org/t/benefits-of-other-jdbc-driver-instead-of-mariadb-extension/17710/7 "2026-10-28T08:58:39Z")

</div>

@kenricashe Thanks for the feedback, noted. We’ve made a few adjustments to how Gian handles things. I hope your overall experience with Lucee is still a good one, that’s what we’re aiming for.
