Skip to content

Commit

Permalink
Importer/RunImporter: add to DB Connection String: allowPublicKeyRet...
Browse files Browse the repository at this point in the history
Add:  &allowPublicKeyRetrieval=true
  • Loading branch information
danjasuw committed Nov 8, 2021
1 parent 6abe3a4 commit d684fe0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ private Connection getConnectionInternal( String db, boolean inserterConnection

dataSource = new BasicDataSource();
dataSource.setUrl("jdbc:mysql://" + dbURL + ":" + dbPort + "/" + db +
"?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8&useSSL=false" ); // removed autoReconnect=true&
"?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8&useSSL=false&allowPublicKeyRetrieval=true" ); // removed autoReconnect=true&

dataSource.setUsername( username );
dataSource.setPassword( password );
Expand Down

0 comments on commit d684fe0

Please sign in to comment.