Comparison
aiomysql vs mysql-connector vs mysqlclient vs PyMySQL
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
MySQL driver for asyncio.
Low maintenance activity. Last release 13 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install aiomysqlMySQL driver written in Python
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install mysql-connectorPython interface to MySQL
Actively maintained. Last release 2 weeks ago, commits in 13 of the last 26 weeks. A safe choice.
$
pip install mysqlclientPure Python MySQL Driver
Actively maintained. Last release 3 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install pymysqlIn short
- mysql-connector looks abandoned: avoid it for new projects.
- PyMySQL is the most used: 84.4M downloads a month, 6.1× more than mysqlclient.
- Maintenance is comparable: PyMySQL 87, mysqlclient 82, aiomysql 23 on Pythie’s Index.
- Safe default for a new project: PyMySQL.
Side by side
| Metric | aiomysql | mysql-connector | mysqlclient | PyMySQL |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | Pythie’s Index: 19 | Pythie’s Index: 82 | Pythie’s Index: 87 |
| Verdict | Low maintenance activity | Likely abandoned | Actively maintained | Actively maintained |
| Downloads / month | 10.6M | 911.2K | 13.9M | 84.4M |
| Downloads, month over month | -5% | -16% | -13% | +7% |
| GitHub stars | 1.9K | – | 2.5K | 7.9K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 283 | 1 | 298 | 2K |
| Last release | Oct 22, 2025 | Apr 1, 2019 | Nov 18, 2026 | Nov 9, 2026 |
| Releases, 12 months | 0 | 0 | 4 | 6 |
| Weeks with commits | 2 / 26 | – | 13 / 26 | 16 / 26 |
| Recent contributors | 2 | – | 15 | 16 |
| First release | Feb 2015 | Apr 2019 | Apr 2014 | Jun 2009 |
| Python versions | 3.9 – 3.13 | 3.1 – 3.3 | 3.10 – 3.14 | – |
| License | MIT | non-standard | GPL-2.0-or-later | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.