Bitbucket Server fails to connect to MySQL - The current database MySQL X.X.XX, is unsupported
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Symptoms
A warning message is received regarding an unsupported database version, e.g.:
1
The current database, MySQL 5.0.95, is unsupported. See Supported platforms
Diagnosis
We rely purely on the JDBC getDatabaseMajorVersion and getDatabaseMinorVersion properties for the check itself (and need 5.1 or 5.5). The displayed version is parsed from getDatabaseProductVersion (but has nothing to do with the check). Determine the MySQL version by using a SQuirreL SQL to connect to the database and click on the 'Metadata' tab:

Cause
An unsupported version of MySQL is being used per our Supported platforms page.
Solution
Resolution
Update MySQL.
Was this helpful?