remove parseTime parameter for mysql driver for package gdb

This commit is contained in:
jflyfox 2021-01-22 23:49:17 +08:00
parent f579c724c6
commit 2c7a257b5a

View File

@ -42,7 +42,7 @@ func (d *DriverMysql) Open(config *ConfigNode) (*sql.DB, error) {
}
} else {
source = fmt.Sprintf(
"%s:%s@tcp(%s:%s)/%s?charset=%s&multiStatements=true&parseTime=true",
"%s:%s@tcp(%s:%s)/%s?charset=%s",
config.User, config.Pass, config.Host, config.Port, config.Name, config.Charset,
)
}