From 2742fb38867600d0eba1fe06a7968aafea87a034 Mon Sep 17 00:00:00 2001 From: GuuBu <46982854+GuuBu@users.noreply.github.com> Date: Tue, 9 Nov 2021 12:26:32 +0800 Subject: [PATCH] Report issue about python process got hung on both Windows and Linux begin from 8.0.27 when try to open mysql connection --- lib/mysql/connector/connection_cext.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mysql/connector/connection_cext.py b/lib/mysql/connector/connection_cext.py index 6ffb0e43..85d0c123 100644 --- a/lib/mysql/connector/connection_cext.py +++ b/lib/mysql/connector/connection_cext.py @@ -162,6 +162,8 @@ def in_transaction(self): def _open_connection(self): charset_name = CharacterSet.get_info(self._charset_id)[0] + + # Don't know what exactly is the problem. But the whole python process hung from here and will never return. The problem start with 8.0.27. Could you help have a look? self._cmysql = _mysql_connector.MySQL( # pylint: disable=E1101,I1101 buffered=self._buffered, raw=self._raw,