From 2f8292a12c3bfad57093980380fb759d6a0fa5dd Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 4 Aug 2020 11:38:01 +0800 Subject: [PATCH] fix(mysql): use en_US.utf8 --- pkg/srvconn/mysqlconn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/srvconn/mysqlconn.go b/pkg/srvconn/mysqlconn.go index 1a64d0e2f..b8e3fb8d9 100644 --- a/pkg/srvconn/mysqlconn.go +++ b/pkg/srvconn/mysqlconn.go @@ -34,7 +34,7 @@ mount -t tmpfs -o size=10M tmpfs /nonexistent cd /nonexistent export HOME=/nonexistent export TMPDIR=/nonexistent -export LANG=en_US.UTF-8 +export LANG=en_US.utf8 exec su -s /bin/bash --command="mysql --user=${USERNAME} --host=${HOSTNAME} --port=${PORT} --password ${DATABASE}" nobody `