diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py index 0fd5565223..c4cd36606b 100644 --- a/django/db/backends/mysql/base.py +++ b/django/db/backends/mysql/base.py @@ -68,7 +68,7 @@ class DatabaseWrapper: if self.connection.get_server_info() >= '4.1': cursor.execute("SET NAMES utf8") if settings.DEBUG: - return base.CursorDebugWrapper(MysqlDebugWrapper(cursor), self) + return util.CursorDebugWrapper(MysqlDebugWrapper(cursor), self) return cursor def commit(self):