skip to Main Content

Docker Host Not Found

I have two docker containers running, one with a Tomcat, one with an H2 database. To build the containers I use docker compose build with the following compose.yml: services: tomcat: build: tomcat ports: - "8080:8080" networks: - my-network h2: build:…

VIEW QUESTION

How to use common flyway migration files for both mysql and h2

I am using h2 database for testcase and mysql database as main DB. Do I able to maintain single flyway migration for both. I am using springboot framework. application-mysql.properties: spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.password=root spring.datasource.url=jdbc:mysql://localhost:3306/shipment-planning?useSsl=true spring.datasource.username=root spring.flyway.default-schema=shipment-planning spring.flyway.enabled=true spring.jpa.hibernate.ddl-auto=none spring.jpa.show-sql=true spring.flyway.locations = h2/db/migration…

VIEW QUESTION

Migrate from H2 to PostgreSQL

I need to replace H2 with PostgreSQL at the WSO2 API Manager. Since there is currently data saved on H2, I need to pass it to PostgreSQL. I found the command SCRIPT TO 'dump.sql' to export the data to .sql…

VIEW QUESTION
Back To Top
Search