# Generic Database query plugin & MariaDB

**URL:** <https://community.dynatrace.com/t/generic-database-query-plugin-mariadb/41540>\
**Category:** Extensions\
**Tags:** databases, extensions, mysql\
**Created:** [September 6, 2023, 2:03pm UTC](https://community.dynatrace.com/t/generic-database-query-plugin-mariadb/41540 "2023-09-06T14:03:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [September 6, 2023, 2:03pm UTC](https://community.dynatrace.com/t/generic-database-query-plugin-mariadb/41540/1 "2023-09-06T14:03:50Z")

</div>

Hello, I am using Generic DB Query Plugin (version 3.5.0) and MariaDB version below:

 ![DanielS_0-1694008825304.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/c/7c5596c227e786adf4a270e7f8ddb9d6aebbc625.png)

I don’t see support for MariaDB but I do see support for MySQL, does anyone have this working? If yes, which version of JDBC are you using? Thanks

---

<div class="post-metadata">

**Author:** ![david\_lopes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/david_lopes/32/27273_2.png) [@david\_lopes](https://community.dynatrace.com/u/david_lopes)\
**Post date:** [September 6, 2023, 5:22pm UTC](https://community.dynatrace.com/t/generic-database-query-plugin-mariadb/41540/2 "2023-09-06T17:22:11Z")

</div>

This is not possible, both the driver class name and the connection string are built for MySQL. So we don’t support MariaDB at this time.

You do have the option to edit the extension code and add this driver and connection string (making the extension unsupported), or get in touch with us (extensions team) for a paid engagement where we can add that support for you. You can get in touch with us via your account manager

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [September 6, 2023, 5:35pm UTC](https://community.dynatrace.com/t/generic-database-query-plugin-mariadb/41540/3 "2023-09-06T17:35:43Z")

</div>

Thanks [@david\_lopes](https://community.dynatrace.com/user/4044)

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [September 6, 2023, 7:44pm UTC](https://community.dynatrace.com/t/generic-database-query-plugin-mariadb/41540/4 "2023-09-06T19:44:49Z")

</div>

Hi&nbsp;[@DanielS](https://community.dynatrace.com/user/35788), I know of one case where they successfully connected to MariaDB using the standard MySQL option. Instead of using&nbsp;jdbc:mariadb://localhost:3306/mydatabase for the connection string (which failed, by the way), they tried&nbsp;jdbc:mysql://localhost:3306/mydatabase and it worked.

It’s worth a shot, but if it fails, pick an option that David suggested 😉
