From bb99cf5b045ba42fdde04dd9a44adf901480b837 Mon Sep 17 00:00:00 2001 From: Jose Angel Munoz Date: Fri, 6 Nov 2020 19:14:45 +0100 Subject: [PATCH] Add mysqlclient library reference in doc (#57) --- plugins/doc_fragments/mysql.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/doc_fragments/mysql.py b/plugins/doc_fragments/mysql.py index 9f6b465..a9c3a99 100644 --- a/plugins/doc_fragments/mysql.py +++ b/plugins/doc_fragments/mysql.py @@ -91,4 +91,7 @@ notes: and later uses the unix_socket authentication plugin by default that without using I(login_unix_socket=/var/run/mysqld/mysqld.sock) (the default path) causes the error ``Host '127.0.0.1' is not allowed to connect to this MariaDB server``. + - Alternatively, you can use the mysqlclient library instead of MySQL-python (MySQLdb) + which supports both Python 2.X and Python >=3.5. + See U(https://pypi.org/project/mysqlclient/) how to install it. '''