I'm trying to replace Databases with SQLAlchemy 1.4 async. When I try to make the engine I get the following error:
sqlalchemy.exc.InvalidRequestError: The asyncio extension requires an async driver to be used. The loaded 'mysqldb' is not async.
I'm making the engine like this:
engine = create_async_engine(SQLALCHEMY_DATABASE_URL, future=True)
What is need to get mysqldb to work with SQLAlchemy async?