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: