Back to Agno

Async MySQL Integration

cookbook/06_storage/mysql/async_mysql/README.md

2.6.4630 B
Original Source

Async MySQL Integration

Examples demonstrating asynchronous MySQL integration with Agno agents, teams, and workflows.

Setup

shell
uv pip install sqlalchemy asyncmy

Configuration

python
from agno.db.mysql import AsyncMySQLDb

db = AsyncMySQLDb(db_url="mysql+asyncmy://username:password@localhost:3306/database")

Examples