Merge pull request #1 from lbryio/test_authchanges
reverted default to native password authentication.
This commit is contained in:
commit
45ee5c902f
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ func MySQLBuildQueryString(user, pass, dbname, host string, port int, sslmode st
|
||||||
}
|
}
|
||||||
config.Addr += ":" + strconv.Itoa(port)
|
config.Addr += ":" + strconv.Itoa(port)
|
||||||
config.TLSConfig = sslmode
|
config.TLSConfig = sslmode
|
||||||
|
config.AllowNativePasswords = false
|
||||||
|
|
||||||
// MySQL is a bad, and by default reads date/datetime into a []byte
|
// MySQL is a bad, and by default reads date/datetime into a []byte
|
||||||
// instead of a time.Time. Tell it to stop being a bad.
|
// instead of a time.Time. Tell it to stop being a bad.
|
||||||
|
|
Loading…
Reference in a new issue