Skip to content

Commit

Permalink
Add "Trust Server Certificate" option
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Sep 19, 2024
1 parent c323e8c commit d3b3a77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private ContainerExecResult runSqlCmd(String cmd, boolean useTestDb) throws Exce
log.info("Executing \"{}\"", cmd);
ContainerExecResult response = this.debeziumMsSqlContainer
.execCmd("/bin/bash", "-c",
"/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P \""
"/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P \""
+ DebeziumMsSqlContainer.SA_PASSWORD + "\" -Q \""
+ (useTestDb ? "USE TestDB; " : "")
+ cmd
Expand Down

0 comments on commit d3b3a77

Please sign in to comment.