Not Enough UTF8MB4

This commit is contained in:
Howl 2016-11-20 13:46:44 +01:00
parent 055a4cdc10
commit 7a65b705d6
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func main() {
if strings.Contains(conf.DSN, "?") {
c = "&"
}
conf.DSN += c + "parseTime=true"
conf.DSN += c + "parseTime=true&charset=utf8mb4,utf8&collation=utf8mb4_general_ci"
}
var err error