Skip to content

Commit

Permalink
Merge pull request #2446 from actiontech/fix-issue2405
Browse files Browse the repository at this point in the history
mysql connection use utf8mb4
  • Loading branch information
ColdWaterLW committed Jun 5, 2024
2 parents ad46216 + e4f315a commit d665ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqle/driver/mysql/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func newConn(entry *logrus.Entry, instance *driverV2.DSN, schema string) (*BaseC
config.Loc = time.Local
config.Timeout = DAIL_TIMEOUT
config.Params = map[string]string{
"charset": "utf8",
"charset": "utf8mb4",
}
driver, err := mysql.NewConnector(config)
if err != nil {
Expand Down

0 comments on commit d665ac2

Please sign in to comment.