Add mysqlclient library reference in doc (#57)

This commit is contained in:
Jose Angel Munoz 2020-11-06 19:14:45 +01:00 committed by GitHub
parent 2dcbd7846f
commit bb99cf5b04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,4 +91,7 @@ notes:
and later uses the unix_socket authentication plugin by default that 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) 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``. 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.
''' '''