mirror of
https://github.com/pgsty/minio.git
synced 2026-08-11 00:33:28 +03:00
fix mysql config for native password authentication (#7436)
fixes #7430
This commit is contained in:
@@ -210,6 +210,7 @@ func NewMySQLTarget(id string, args MySQLArgs) (*MySQLTarget, error) {
|
||||
Net: "tcp",
|
||||
Addr: args.Host.String() + ":" + args.Port,
|
||||
DBName: args.Database,
|
||||
AllowNativePasswords: true,
|
||||
}
|
||||
|
||||
args.DSN = config.FormatDSN()
|
||||
|
||||
Reference in New Issue
Block a user