Issues connecting to mariadb linux socket #2136
Which version and edition of Flyway are you using?
Flyway Community Edition 5.1.4 by Boxfuse
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
Server version: 10.1.34-MariaDB-0ubuntu0.18.04.1 Ubuntu 18.04
Which operating system are you using?
Distributor ID: Ubuntu
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
What did you expect to see?
That it connected to the database
What did you see instead?
The error above.
The text was updated successfully, but these errors were encountered:
Thanks for reporting. It appears the MariaDB JDBC driver optionally requires JNA (which Flyway doesn't ship with) and this must be a case where it is used.
Can you try downloading https://search.maven.org/remotecontent?filepath=net/java/dev/jna/jna-platform/4.5.2/jna-platform-4.5.2.jar and https://search.maven.org/remotecontent?filepath=net/java/dev/jna/jna/4.5.2/jna-4.5.2.jar, adding these 2 jar files to Flyway's drivers directory and then try to connect again to see if this fixes the issue?