From 671c1346768c023cf69fe824213ca6cdbddb3e56 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Tue, 18 Apr 2023 13:00:21 +0800 Subject: [PATCH] pkg/tz(ticdc): better log --- pkg/sink/mysql/config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/sink/mysql/config.go b/pkg/sink/mysql/config.go index b2c551b0432..3d7ad78ad89 100644 --- a/pkg/sink/mysql/config.go +++ b/pkg/sink/mysql/config.go @@ -334,7 +334,9 @@ func getSafeMode(values url.Values, safeMode *bool) error { func getTimezone(ctxWithTimezone context.Context, values url.Values, timezone *string) error { const pleaseSpecifyTimezone = "We recommend that you specify the time-zone explicitly. " + "Please make sure that the timezone of the TiCDC server, " + - "sink-uri and the downstream database are consistent." + "sink-uri and the downstream database are consistent. " + + "If the downstream database does not load the timezone information, " + + "you can refer to https://dev.mysql.com/doc/refman/8.0/en/mysql-tzinfo-to-sql.html." serverTimezone := contextutil.TimezoneFromCtx(ctxWithTimezone) if _, ok := values["time-zone"]; !ok { // If time-zone is not specified, use the timezone of the server.