Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Getting unsupported error with correct versions? #2481
Which version and edition of Flyway are you using?
6.0.0 Community Edition
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
MariaDB (ver. 10.2.20)
Which operating system are you using?
Windows 10 Pro 1809
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
What did you expect to see?
What did you see instead?
ERROR: Flyway Enterprise Edition or MariaDB upgrade required: MariaDB 5.5 is no longer supported by Flyway Community Edition, but still supported by Flyway Enterprise Edition.
On https://flywaydb.org/documentation/database/mariadb the format of url is
I've managed to reproduce this. As @pzygielo suggested the problem is that you're using a MySQL JDBC url instead of a MariaDB one. If you use
I can't see a reason why we'd need to support such interchangeability. Is there an advantage to using the MySQL JDBC url?
in our case, our product leaves the choice of database (mysql or mariadb) to the user/client. and since mariadb is supposed to be a drop-in replacement with some limitations and since mariadb connector/j itself allows both usages
moreover, this was working with flyway 5.2.4 but stopped with 6.0.0 even though mariadb version we use (10.2.26) did not change. mariadb 10.2.26 is for sure newer than mariadb 5.5. therefore the report is not true.