运行flyway报错, MySQL 5.6 is no longer supported by Flyway Community Edition,问题处理

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.

今天运行flyway突然报错,大致意思是:MySQL 5.6不支持Flyway社区版,只支持Flyway企业版,提出的解决方案是改成企业版或升级MySQL。

于是上官网看,flyway官网印证:

运行flyway报错, MySQL 5.6 is no longer supported by Flyway Community Edition,问题处理_第1张图片

但是系统还得跑,解决办法如下:

1.把数据库升级为5.7版本以及以上的 就可以了 ,这种代价较大,为了用这个还得重装数据库;

2.更换flyway的jar包版本,用老版本即可,贴出依赖:


     org.flywaydb
     flyway-core
     5.2.1

至此,问题解决

你可能感兴趣的:(开发工具相相应操作,java基础,数据库,flyway)