Minimum MySQL version requirements not met

I am using Mattermost Team Edition Certified by Bitnami deployed on google cloud vm.
Below are the software details:
Operating System:
Debian (9)
Mattermost Team Edition (5.7.1)
MySQL (5.6.43)
NGINX Open Source (1.14.2)
OpenSSL (1.0.2q)

I am able to perform upgrade all these years until version 5.39.3 by following this documentation Upgrade Mattermost Team Edition (

However, when I tried to upgrade to version 6+, my mattermost failed to start, when I checked the log, it shows this:
{“timestamp”:“2023-01-02 14:28:39.145 Z”,“level”:“fatal”,“msg”:“Error while checking DB version.”,“caller”:“sqlstore/store.go:149”,“error”:“minimum MySQL version requirements not met. Found: 5.6.43, Wanted: 5.7.12”}

Should I update mysql version? Will it break my mattermost?
Or should I deploy a new bitnami package Mattermost Team Edition packaged by Bitnami – Marketplace – Google Cloud console
and migrate my data over?

Hi low6373 and welcome to the Mattermost forums!

Newer Mattermost versions require more recent MySQL versions so yes, you would have to update your running MySQL server.
Did you also install MySQL using Bitnami installation instructions? Most likely, a simple apt-get update && apt-get upgrade will install a compatible version, but it’s hard to tell without knowing your system in detail.
An in-place upgrade of MySQL will not break your Mattermost installation, but it’s always a good idea to have a backup/snapshot of your VM before you run the upgrade so you can revert to the state before the upgrade in case something breaks.

Hi low6373,

just trying to follow up here - were you able to solve this issue?