Skip to content

Commit 3bd0fd8

Browse files
committed
add mysql param
1 parent be047fd commit 3bd0fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clusterj-app/src/test/java/ru/example/clusterj/junit5/MySQLClusterTcExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private static Network.Ipam getIpam() {
8282
String ndbUrl = ndbMgmd.getContainerIpAddress() + ":" + ndbMgmd.getMappedPort(1186);
8383
String mysqlUrl = ndbMysqld.getContainerIpAddress() + ":" + ndbMysqld.getMappedPort(3306);
8484
String mysqlConnectionString = "jdbc:mysql://" + mysqlUrl + "/" + CLUSTERJ_DATABASE + "?useUnicode=true" +
85-
"&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false";
85+
"&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true";
8686

8787
System.setProperty("clusterj.connectString", ndbUrl);
8888
System.setProperty("clusterj.dataBaseName", CLUSTERJ_DATABASE);

0 commit comments

Comments
 (0)