Include database version test in installer

My idea is:

Check if the user has a supported database version (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

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, 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