You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
aiomysql is outdated. The last release is almost 2 years old and there is no support for newer PyMySQL release like 0.10.1 which is the latest one.
There is not ETA for a new release (aio-libs/aiomysql#466) or support for PyMySQL > 0.10.
aiomysql is a dependency of databases and databases is dependency of various web framework for DB support. In the current situation all those web frameworks don't have MySQL support on Fedora (Fedora ships PyMySQL 0.10) and likely other distributions when installed with the distribution-provided packages.
It would be highly appreciated if you consider to migrate to MySQl binding which are actively maintained.
@synodriver I just tried that, it seems to need a few modifications, the Cursor usage is different from aiomysql. It also has different query results.
I guess this is not drop-in replacement to aiomysql but we can try it out.
Activity
pquentin commentedon Oct 14, 2020
@fabaff Do you have a maintained MySQL binding in mind?
mrsakkaro commentedon Feb 3, 2021
looks like new release of aiomysql came out Nov. 28. 2020. It's first release in 2+ years but at least we got one.
fabaff commentedon Feb 3, 2021
This doesn't help as it's just "a release". #518 was not addressed, thus we are getting nowhere unfortunately.
aminalaee commentedon Aug 26, 2021
The only active async mysql driver I found is asyncmy which has a compatible API with
aiomysql.I'll give this a try.
synodriver commentedon Sep 2, 2021
Could we just replace
aiomysqlwithasyncmybecause it is said that they are API compatible?aminalaee commentedon Sep 2, 2021
@synodriver I just tried that, it seems to need a few modifications, the
Cursorusage is different fromaiomysql. It also has different query results.I guess this is not drop-in replacement to
aiomysqlbut we can try it out.aminalaee commentedon Sep 6, 2021
I've started a PR for
asyncmydriver. It's still a work in progress but feel free to give some feedback.synodriver commentedon Sep 6, 2021
That's great! Thanks for your effort.