Bitbucket Server fails to connect to MySQL - The current database MySQL X.X.XX, is unsupported
Symptoms
A warning message is received regarding an unsupported database version, e.g.:
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.