Skip to content

Commit

Permalink
Update pkg/sink/mysql/db_helper.go
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei authored Mar 1, 2023
1 parent a1f7b40 commit 34e2ce2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/sink/mysql/db_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ func generateDSNByConfig(
// set the `tidb_enable_external_ts_read` to `OFF`, so cdc could write to the sink
dsnCfg.Params["tidb_enable_external_ts_read"] = fmt.Sprintf(`"%s"`, tidbEnableExternalTSRead)
}

dsnClone := dsnCfg.Clone()
dsnClone.Passwd = "******"
log.Info("sink uri is configured", zap.String("dsn", dsnClone.FormatDSN()))
Expand Down

0 comments on commit 34e2ce2

Please sign in to comment.