Skip to content

Commit 24babab

Browse files
committed
fix: add allowPublicKeyRetrieval params for cb connect to mysql8
1 parent 5f98f84 commit 24babab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/dms/biz/cloudbeaver.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,8 @@ func (cu *CloudbeaverUsecase) GenerateCloudbeaverConnectionParams(dbService *DBS
11401140

11411141
func (cu *CloudbeaverUsecase) fillMySQLParams(config map[string]interface{}) error {
11421142
config["driverId"] = "mysql:mysql8"
1143+
// https://github.com/actiontech/dms-ee/issues/276
1144+
config["properties"] = map[string]interface{}{"allowPublicKeyRetrieval": "TRUE"}
11431145
return nil
11441146
}
11451147

0 commit comments

Comments
 (0)