merge from github

This commit is contained in:
jianghang.loujh
2025-07-28 14:37:47 +08:00
parent 553438e227
commit 3a7223e460
3 changed files with 12 additions and 8 deletions

View File

@@ -306,7 +306,7 @@ public class MysqlConnector {
byte[] scramble = authData;
try {
encryptedPassword = MySQLPasswordEncrypter.scrambleCachingSha2(getPassword().getBytes(),
scramble);
scramble);
} catch (DigestException e) {
throw new RuntimeException("can't encrypt password that will be sent to MySQL server.", e);
}