jhowarth / liquibase-docker

Run a docker container that acts as a liquibase command line interface.
1 stars 0 forks source link

Good afternoon, Jesse #2

Open naXa777 opened 5 years ago

naXa777 commented 5 years ago

I'm running PostgreSQL database in Docker and thanks to you I'm running Liquibase tool in Docker. But I'm not able to connect them. Could you help?

I've done near 10 attempts and I always get one of the following errors:

Liquibase updateSQL Failed: liquibase.exception.DatabaseException: Connection could not be created to jdbc:postgresql://host:port/db with driver org.postgresql.Driver. Possibly the wrong driver for the given database URL

Liquibase updateSQL Failed: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

Liquibase updateSQL Failed: org.postgresql.util.PSQLException: The connection attempt failed.