skip to Main Content

MySql and Docker com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

I want to put my spring rest api with database in mysql in Docker. application.properties file: server.port=8082 spring.datasource.url=jdbc:mysql://database:8083/schoolregistrationsystem spring.datasource.username=user spring.datasource.password=pwd spring.jpa.hibernate.ddl-auto=none spring.liquibase.change-log=classpath:/db/changelog/dbchangelog.xml spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER Next I created docker-compose.yml file in directory with project: version: "3.8" services: api: build: ./SchoolRegistrationSystem…

VIEW QUESTION

Liquibase "Cannot find the declaration of element 'databaseChangeLog'" in xml changeLog file – Debian

Following This guide from Liquibase's official website I've created my own changelog-master.xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="https://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"> <includeAll path="/home/username/liquibase/examples/sqlite-test" filter="sql"/> </databaseChangeLog> I've then created the liquibase.properties file in the same folder: # Enter the path for…

VIEW QUESTION
Back To Top
Search