Skip to content
Permalink
Browse files

Merge branch 'master' into master

  • Loading branch information...
hunterlong committed Jun 6, 2019
2 parents 3188b3c + 175f20a commit 9013eb6c94def14d81125d3da5d52491de87a990
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/database.go
@@ -194,7 +194,7 @@ func (db *DbConfig) Connect(retry bool, location string) error {
dbType = "sqlite3"
case "mysql":
host := fmt.Sprintf("%v:%v", Configs.DbHost, Configs.DbPort)
conn = fmt.Sprintf("%v:%v@tcp(%v)/%v?charset=utf8&parseTime=True&loc=UTC", Configs.DbUser, Configs.DbPass, host, Configs.DbData)
conn = fmt.Sprintf("%v:%v@tcp(%v)/%v?charset=utf8&parseTime=True&loc=UTC&time_zone=%%27UTC%%27", Configs.DbUser, Configs.DbPass, host, Configs.DbData)
case "postgres":
sslMode := "disable"
if postgresSSL != "" {

0 comments on commit 9013eb6

Please sign in to comment.
You can’t perform that action at this time.