Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterlong committed Jun 6, 2019
2 parents 3188b3c + 175f20a commit 9013eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/database.go
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit 9013eb6

Please sign in to comment.