Skip to content

Commit

Permalink
MSSQL add -C argument to trust server certificate and change sqlcmd…
Browse files Browse the repository at this point in the history
… path

(cherry picked from commit 7ce8e03)
  • Loading branch information
jedla97 committed Oct 8, 2024
1 parent 443a04d commit 0f00348
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public class MssqlTransactionGeneralUsageIT extends TransactionCommons {
self
.<GenericContainer<?>> getPropertyFromContext(DOCKER_INNER_CONTAINER)
.execInContainer(
"/opt/mssql-tools/bin/sqlcmd", "-S", "localhost", "-U", self.getUser(), "-P", self.getPassword(),
"-Q", "EXEC sp_sqljdbc_xa_install");
"/opt/mssql-tools18/bin/sqlcmd", "-C", "-S", "localhost", "-U", self.getUser(),
"-P", self.getPassword(), "-Q", "EXEC sp_sqljdbc_xa_install");
} catch (IOException | InterruptedException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit 0f00348

Please sign in to comment.