Giter Club home page Giter Club logo

Comments (4)

StefanSchubert avatar StefanSchubert commented on July 18, 2024

Revisit-Result:

While running flyway as step within docker-compose against mariadb 10.9.3 without any problem,
we won't be able to simply do a flyway migrate "from outside" via maven against mariadb in docker or on pi (production site)

flyway-maven-plugin:9.4.0

Maria DB version in docker-compose: mariadb:10.9.3 / platform: linux/arm64
Maria DB version on Production: mariadb Ver 15.1 Distrib 10.3.36-MariaDB

Though Port 3306 is available and other DB-Tools can connect against it.
There seems to be an implementation difference between maven flyway plugin and the flyway container: flyway/flyway:9.3.1

from sabi.

StefanSchubert avatar StefanSchubert commented on July 18, 2024

I opened a ticket at flyway for support: flyway/flyway#3534
As I'm out of clues what goes wrong here.

from sabi.

StefanSchubert avatar StefanSchubert commented on July 18, 2024

As I didn't found so much articles about the same problem on the web it must have been a configuration issue at my site (my setup worked the flyway 8 epoche).

Finally I found that my plugin required an additional mysql dependeny to get the flyway plugin working. My plugin dependencies looks now like this:

                    <dependencies>
                        <dependency>
                            <groupId>org.mariadb.jdbc</groupId>
                            <artifactId>mariadb-java-client</artifactId>
                            <version>${mariadb.client.version}</version>
                        </dependency>
                        <dependency>
                            <groupId>org.flywaydb</groupId>
                            <artifactId>flyway-mysql</artifactId>
                            <version>${flyway.version}</version>
                        </dependency>
                    </dependencies>

#closed

Anyway a suggestion

from sabi.

StefanSchubert avatar StefanSchubert commented on July 18, 2024

fixed on Develop Branch

from sabi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.