Pivotal Web Services: Flyway Enterprise Edition or MySQL upgrade required

11.1k views Asked by At

I get the following message when deploying my Spring Boot Application to Pivotal Web Services with a MySQL cleardb spark database:

org.flywaydb.core.internal.license.FlywayEditionUpgradeRequiredException: 
    Flyway Enterprise Edition or MySQL upgrade required: MySQL 5.6 is no longer supported by 
    Flyway Community Edition, but still supported by Flyway Enterprise Edition.

I've tried deploying with Flyway v6.1.4. Are there any options other than ponying up $2950/yr for Flyway Enterprise? Can I run a more recent version of MySQL on Pivotal Web Services? Any good alternatives to Flyway?

4

There are 4 answers

3
Richard On BEST ANSWER

Downgrading to Flyway v5.2.4 solved my issue.

0
Julia Hayward On

There are issues with MySQL/MariaDB where the JDBC driver reports that the database is version 5.6 even though it is actually newer. On your database, what do you get if you execute SELECT VERSION()?

0
nikhil raynade On

Try to downgrade the Spring-boot version to 2.0.1 or below then it will work absolutely fine, either downgrade the flyway version to v5.2.4 might solve this issue. try downgrading the spring boot version to 2.0.1 which has stable and works great with 3rd party dependancies.

0
khwilo On

I downgraded the FlyWay version that I had. Here is a sample:

<dependency>
  <groupId>org.flywaydb</groupId>
  <artifactId>flyway-core</artifactId>
  <version>7.15.0</version>
</dependency>