Skip to content

Commit

Permalink
bugfix: adjust mo_logger use server side max_allowed_packet config in…
Browse files Browse the repository at this point in the history
… 2.0 (#21316)
  • Loading branch information
xzxiong authored Jan 22, 2025
1 parent 53a58c3 commit 8c4c0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/export/etl/db/db_holder.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func GetOrInitDBConn(forceNewConn bool, randomCN bool) (*sql.DB, error) {
return err
}
dsn :=
fmt.Sprintf("%s:%s@tcp(%s)/?readTimeout=10s&writeTimeout=15s&timeout=15s&maxAllowedPacket=67108864&disable_txn_trace=1",
fmt.Sprintf("%s:%s@tcp(%s)/?readTimeout=10s&writeTimeout=15s&timeout=15s&maxAllowedPacket=0&disable_txn_trace=1",
dbUser.UserName,
dbUser.Password,
dbAddress)
Expand Down

0 comments on commit 8c4c0db

Please sign in to comment.