Update MySQL driver docs about gevent compat
mysqlclient is the "recommended choice", in bold in the docs, but it turns out that it is not compatible with gevent, since gevent cannot monkey-patch the networking code inside the native binary. I want to update the docs to point that out and also add the pure-Python PyMySQL library as an additional driver that is compatible with gevent.
I discovered this after several years using mysqlclient and gunicorn together (with gevent workers), due to concurrency problems. The root cause was difficult to diagnose and these proposed docs would have helped.
Change History
(5)
| Description: |
modified (diff)
|
| Owner: |
set to Caleb Hattingh
|
| Status: |
new → assigned
|
| Triage Stage: |
Unreviewed → Accepted
|
I am claiming this ticket.