Join GitHub today
MariaDB: clean fails when event scheduler is disabled #2410
Which version and edition of Flyway are you using?
5.2.4 and 6.0.0-beta2
If this is not the latest version, can you reproduce the issue with the latest one as well?
Nope, see versions above
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
CLI and Java API
Which database are you using (type & version)?
Which operating system are you using?
What did you do?
Simply ran an empty migration, then this error pops up. Database URL is
While running 'validate' or 'info' no error occurs.
What did you expect to see?
No error, just an information how many (in this case 0) migration where run.
What did you see instead?
The stacktrace from the Java API:
The issue is the fourth select statement which queries the
changed the title
MySQLSchema doEmpty() call fails on disabled event scheduler
Jun 8, 2019
Thank you very much for the detailed report and investigation. Fascinating! It appears this undocumented difference in behavior between MariaDB and MySQL was introduced in MariaDB 10.0. Only MariaDB 10.0 and newer have this issue. It is not present in any version of MySQL, nor in MariaDB 5.5. Fixed.