From 45b755e8d97c842541dc55bfb9117aa76cecefec Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 27 Jul 2022 21:29:47 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index d157d5db3..952353b0b 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -137,6 +137,7 @@ def pMysqlDb(): db = mw.getMyORM() db.setPort(getDbPort()) db.setSocket(getSocketFile()) + # db.setCharset("utf8") db.setPwd(pSqliteDb('config').where('id=?', (1,)).getField('mysql_root')) return db