Skip to content

Commit 260dba8

Browse files
committed
Added JDBC URL param (useSSL=false) for MySQL test container
1 parent cd1b0a5 commit 260dba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/apache/ibatis/testcontainers/MysqlContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class MysqlContainer {
3333
private static MySQLContainer<?> initContainer() {
3434
@SuppressWarnings("resource")
3535
MySQLContainer<?> container = new MySQLContainer<>().withDatabaseName(DB_NAME).withUsername(USERNAME)
36-
.withPassword(PASSWORD);
36+
.withPassword(PASSWORD).withUrlParam("useSSL", "false");
3737
container.start();
3838
return container;
3939
}

0 commit comments

Comments
 (0)