Merge pull request #2 from lbryio/test_authchanges

make it true
This commit is contained in:
Mark 2018-06-06 19:05:29 -04:00 committed by GitHub
commit bc08aa6160
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +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 config.AllowNativePasswords = true
// 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.