mirror of
https://gitee.com/johng/gf.git
synced 2024-12-01 19:57:40 +08:00
remove parseTime parameter for mysql driver for package gdb
This commit is contained in:
parent
f579c724c6
commit
2c7a257b5a
@ -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,
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user