Skip to content
rdlabo.devdocs
Workers MySQLv0.12.2
@rdlabo/workers-mysql

MySQL and Hyperdrive for Cloudflare Workers

MySQL access through Hyperdrive, with primary/replica routing, deadlock retries, and Drizzle integration.

Database building blocks

  • Hyperdrive runtime

    Use invocation-scoped connections and explicit primary/replica read paths.

  • Optional Drizzle integration

    Keep schemas in the application and share one Drizzle type identity.

  • Tooling boundaries

    Keep migration and destructive test helpers separate from Worker bundles.