liquibase - connection could not be created and invalid database URL - Stack Overflow

admin2025-01-08  8

I see the following error message when I try to execute the liquibase validate command

Validating Liquibase Script on Target Database

Unexpected error : connection could not be created to JDBC:db2://hostname.. [Error][e][10005][4.33.31] Invalid database URL syntax: jdbc:db2://hostname

PowerShell exited with code '1'

I see the following error message when I try to execute the liquibase validate command

Validating Liquibase Script on Target Database

Unexpected error : connection could not be created to JDBC:db2://hostname.. [Error][e][10005][4.33.31] Invalid database URL syntax: jdbc:db2://hostname

PowerShell exited with code '1'

Share Improve this question asked Nov 23, 2024 at 6:45 snssns 1911 gold badge3 silver badges11 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

This message is returned by the jdbc driver. You may need to add at least the database name to your db url, like in jdbc:db2://hostname/MY_DATABASE . You can find more parameters here.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736270982a1478.html

最新回复(0)