Which version and edition of Flyway are you using?
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
Which operating system are you using?
What did you do?
Starting Spring Boot application, having MariaDB 2.6.0 driver on the classpath.
What did you expect to see?
No errors/warnings since MariaDB Connector/J 2.6.0 supports MySQL Server 5.7.0
What did you see instead?
On startup I get this warning:
2020-06-22 12:32:24.242 WARN 19434 --- [ restartedMain] o.f.c.i.d.m.MySQLDatabase : You are connected to a MySQL 5.7 database using the MariaDB driver. This is known to cause issues. An upgrade to Oracle's MySQL JDBC driver is highly recommended.
Since MariaDB and MySQL drivers are not equivalent w.r.t. licensing, and being MariaDB 2.6.0 officially supporting MySQL 5.7, which are these known issues that I should be warned against?
I tried to look at Flyway source code where this warning is produced (org.flywaydb.core.internal.database.mysql.MySQLDatabase.ensureSupported()), but I found no mention of them. I tried to search here on GitHub and just found an old issue mentioning problems with MariaDB drivers and MySQL Server 8.0 (#2099 (comment)).
Also tried a broader search with Google but was not able to figure it out.
Thanks in advance.
The text was updated successfully, but these errors were encountered: