Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Migrate away from aiomysql #244

Closed

Description

@fabaff

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.

Thanks

Activity

  1. pquentin commented on Oct 14, 2020

    @pquentin

    @fabaff Do you have a maintained MySQL binding in mind?

  2. mrsakkaro commented on Feb 3, 2021

    @mrsakkaro

    looks like new release of aiomysql came out Nov. 28. 2020. It's first release in 2+ years but at least we got one.

  3. fabaff commented on Feb 3, 2021

    @fabaff
    Author

    This doesn't help as it's just "a release". #518 was not addressed, thus we are getting nowhere unfortunately.

  4. aminalaee commented on Aug 26, 2021

    @aminalaee
    Contributor

    The only active async mysql driver I found is asyncmy which has a compatible API with aiomysql.
    I'll give this a try.

  5. synodriver commented on Sep 2, 2021

    @synodriver

    The only active async mysql driver I found is asyncmy which has a compatible API with aiomysql.
    I'll give this a try.

    Could we just replace aiomysql with asyncmy because it is said that they are API compatible?

  6. aminalaee commented on Sep 2, 2021

    @aminalaee
    Contributor

    @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.

  7. aminalaee commented on Sep 6, 2021

    @aminalaee
    Contributor

    I've started a PR for asyncmy driver. It's still a work in progress but feel free to give some feedback.

  8. synodriver commented on Sep 6, 2021

    @synodriver

    That's great! Thanks for your effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions