mirror of
https://github.com/minio/minio.git
synced 2025-11-10 14:09:48 -05:00
Update go-sql-driver pkg to support checkConnLiveness (#9766)
Fixes #9679
This commit is contained in:
@@ -364,6 +364,7 @@ func NewMySQLTarget(id string, args MySQLArgs, doneCh <-chan struct{}, loggerOnc
|
||||
Addr: args.Host.String() + ":" + args.Port,
|
||||
DBName: args.Database,
|
||||
AllowNativePasswords: true,
|
||||
CheckConnLiveness: true,
|
||||
}
|
||||
|
||||
args.DSN = config.FormatDSN()
|
||||
|
||||
Reference in New Issue
Block a user