18

I have been using flyway community edition version 5.2.3 for a while now. We just recently tried to upgrade flyway to version 8.2. After upgrading to version 8.2 the execution against MySQL 5.7 is throwing an error stating

"ERROR: Flyway Teams Edition or MySQL upgrade required: MySQL 5.7 is no longer supported by Flyway Community Edition, but still supported by Flyway Teams Edition."

My question is what was the last version of the flyway community edition that supported MySQL 5.7?

Shadow
  • 33,525
  • 10
  • 51
  • 64
corey
  • 181
  • 1
  • 1
  • 3

2 Answers2

25

Flyway Community Edition 8.0.0-beta1 dropped support for databases older than 5 years, including MySQL 5.7.

The minimum supported version of MySQL was increased from 5.7 to 8.0 in this commit, which was introduced in Flyway 8.0.0-beta1.

Currently, the latest community edition version that supports MySQL 5.7 is Flyway 7.15.0.

codemonkey
  • 3,510
  • 3
  • 23
  • 35
  • 2
    flyway-mysql:7.15.0 was pulled from maven repos. Lowest version 8.2.1 – Thanh Nhan May 24 '22 at 03:05
  • Just to clarify, there was no `flyway-mysql` prior to 8.2.1. The corresponding code was included in `flyway-core` but was extracted to a separate jar in 8.2.1. See the release notes: https://flywaydb.org/documentation/learnmore/releaseNotes#8.2.1 – codemonkey May 12 '23 at 15:54
-1

Just download old version of flyway manually from the website and install it.

Tried installing it from brew using various method, it doesn't work for flyway.

  • 1
    As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 18 '22 at 13:52