From 0369583969f58b66812fb9b17b5d76cdc01ad9ba Mon Sep 17 00:00:00 2001 From: sp Date: Fri, 9 Jul 2021 20:04:01 +1000 Subject: [PATCH] add collation support. --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 3c40835..5eab073 100644 --- a/config.json +++ b/config.json @@ -1,7 +1,7 @@ { "Host":"0.0.0.0", "Port":"8080", - "DSN": "sp:sp@tcp(192.168.1.70:3306)/syd_credit?parseTime=true&loc=Australia%2FSydney", + "DSN": "sp:sp@tcp(192.168.1.70:3306)/syd_credit?parseTime=true&loc=Australia%2FSydney&collation=utf8mb4_0900_ai_ci", "TlsCert": "/home/sp/go/src/fullchain.pem", "TlsKey": "/home/sp/go/src/privkey.pem", "Debug": true,