From 3840708dc9eab9c4442aae49ba1cb4a1f1276fe7 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Wed, 17 Jun 2026 10:46:19 +0200 Subject: [PATCH] marvin: specify the charset as utf8mb4 in dbConnection.py --- tools/marvin/marvin/dbConnection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/marvin/marvin/dbConnection.py b/tools/marvin/marvin/dbConnection.py index eb48e5852ed7..31f16659bdd5 100644 --- a/tools/marvin/marvin/dbConnection.py +++ b/tools/marvin/marvin/dbConnection.py @@ -42,6 +42,7 @@ def execute(self, sql=None, params=None, db=None): port=int(self.port), user=str(self.user), password=str(self.passwd), + charset="utf8mb4", db=str(self.database) if not db else db)) as conn: conn.autocommit = True with contextlib.closing(conn.cursor(buffered=True)) as cursor: