From 7a65b705d68123a4e1464314d3be899a45a2f110 Mon Sep 17 00:00:00 2001 From: Howl Date: Sun, 20 Nov 2016 13:46:44 +0100 Subject: [PATCH] Not Enough UTF8MB4 --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 90e015f..4786b99 100644 --- a/main.go +++ b/main.go @@ -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