# Include database version test in installer

**URL:** <https://forum.mautic.org/t/include-database-version-test-in-installer/14872>\
**Category:** Ideas and Feature Requests\
**Created:** [June 19, 2020, 12:49pm UTC](https://forum.mautic.org/t/include-database-version-test-in-installer/14872 "2020-06-19T12:49:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dennisameling](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dennisameling/32/958_2.png) [@dennisameling](https://forum.mautic.org/u/dennisameling)\
**Post date:** [June 19, 2020, 12:49pm UTC](https://forum.mautic.org/t/include-database-version-test-in-installer/14872/1 "2020-06-19T12:49:21Z")

</div>

**My idea is:**

Check if the user has a [supported database version](https://www.mautic.org/download/requirements) (MySQL 5.7+ or MariaDB 10.2+) on new installations of Mautic 3. Because we don’t show a user-friendly warning, hard errors are shown when a user tries to install Mautic on a non-supported database version: [Upgrade Error From 2.16.2 to 3.x](https://forum.mautic.org/t/upgrade-error-from-2-16-2-to-3-x/14663)

**I think these groups of people would benefit from this idea:**

Everyone who tries to install a fresh instance of Mautic

**Why I think they would benefit from this idea:**

Prevents hard errors so we can show user-friendly error messages.

**Any code or resources to support this idea:**

We already check for supported database versions in Mautic 3’s [upgrade script](https://github.com/mautic/mautic/blob/e356e2b413da650261922b82dd64b0feb802431b/upgrade_v3.php#L188), we’re just not doing this yet for fresh installations.

**Are you willing to work on this idea?:**

Yes, is time allows

**What skills and resources do you need to explore this further?**

Not many, most of the logic can be copied from the [M3 upgrade script](https://github.com/mautic/mautic/blob/e356e2b413da650261922b82dd64b0feb802431b/upgrade_v3.php#L186)
