From 22481ed51bc4a3f4dfc85e0909ddecfdbfe04c58 Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Thu, 26 Jan 2023 14:01:56 +0100 Subject: [PATCH] Document that mysqlclient is also named MySQLdb --- plugins/module_utils/mysql.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/module_utils/mysql.py b/plugins/module_utils/mysql.py index 214c18d..43830e2 100644 --- a/plugins/module_utils/mysql.py +++ b/plugins/module_utils/mysql.py @@ -23,6 +23,7 @@ try: _mysql_cursor_param = 'cursor' except ImportError: try: + # mysqlclient is called MySQLdb import MySQLdb as mysql_driver import MySQLdb.cursors _mysql_cursor_param = 'cursorclass'