Issues connecting to mariadb linux socket #2136
Closed
Labels
Milestone
Comments
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? |
Works perfectly! Thank you! |
Thanks for testing. Then we'll include these out of the box, starting with Flyway 5.2. |
axelfontaine
pushed a commit
to flyway/flywaydb.org
that referenced
this issue
Sep 18, 2018
dohrayme
pushed a commit
to dohrayme/flyway
that referenced
this issue
Feb 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
I think it's the latest release.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
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
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
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: