mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Set allowNativePasswords DSN setting to true (#1805)
This commit is contained in:
parent
f6aa2fbb23
commit
56a2b81579
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ func registerTLS(config config.MysqlConfig) error {
|
|||
// provided configuration.
|
||||
func generateMysqlConnectionString(conf config.MysqlConfig) string {
|
||||
dsn := fmt.Sprintf(
|
||||
"%s:%s@(%s)/%s?charset=utf8mb4&parseTime=true&loc=UTC&clientFoundRows=true",
|
||||
"%s:%s@(%s)/%s?charset=utf8mb4&parseTime=true&loc=UTC&clientFoundRows=true&allowNativePasswords=true",
|
||||
conf.Username,
|
||||
conf.Password,
|
||||
conf.Address,
|
||||
|
|
|
|||
Loading…
Reference in a new issue