DBZ-7049 Add RSA configuration
This commit is contained in:
parent
3050bf1381
commit
3a1265b1ff
@ -234,7 +234,8 @@ public Configuration.Builder defaultJdbcConfigBuilder() {
|
||||
.with(BinlogConnectorConfig.HOSTNAME, System.getProperty("database.hostname", "localhost"))
|
||||
.with(BinlogConnectorConfig.PORT, System.getProperty("database.port", "3306"))
|
||||
.with(BinlogConnectorConfig.USER, "snapper")
|
||||
.with(BinlogConnectorConfig.PASSWORD, "snapperpass");
|
||||
.with(BinlogConnectorConfig.PASSWORD, "snapperpass")
|
||||
.with("driver.allowPublicKeyRetrieval", "true");
|
||||
|
||||
builder = applyConnectorDefaultJdbcConfiguration(builder);
|
||||
|
||||
|
@ -59,6 +59,7 @@ expire_logs_days = 1
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-8.0]
|
||||
default_authentication_plugin = caching_sha2_password
|
||||
caching_sha2_password_auto_generate_rsa_keys = on
|
||||
binlog_expire_logs_seconds = 86400
|
||||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
@ -66,4 +67,5 @@ binlog_expire_logs_seconds = 86400
|
||||
# --------------------------------------------------------------------------------------------
|
||||
[mysqld-8.2]
|
||||
default_authentication_plugin = caching_sha2_password
|
||||
caching_sha2_password_auto_generate_rsa_keys = on
|
||||
binlog_expire_logs_seconds = 86400
|
||||
|
Loading…
Reference in New Issue
Block a user