mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-24 11:21:26 -07:00
Document that mysqlclient is also named MySQLdb
This commit is contained in:
parent
16676373fa
commit
22481ed51b
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ try:
|
||||||
_mysql_cursor_param = 'cursor'
|
_mysql_cursor_param = 'cursor'
|
||||||
except ImportError:
|
except ImportError:
|
||||||
try:
|
try:
|
||||||
|
# mysqlclient is called MySQLdb
|
||||||
import MySQLdb as mysql_driver
|
import MySQLdb as mysql_driver
|
||||||
import MySQLdb.cursors
|
import MySQLdb.cursors
|
||||||
_mysql_cursor_param = 'cursorclass'
|
_mysql_cursor_param = 'cursorclass'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue