Skip to content

PlanetscaleDatabaseOptions

PlanetscaleDatabaseOptions = MysqlDatabaseOptions

Defined in: packages/db-mysql/src/planetscale.ts:12

PlanetScale (serverless MySQL HTTP) preset. For now an alias over the mysql2 pool — PlanetScale’s HTTP driver (@planetscale/database + drizzle-orm/planetscale-serverless) is wire-compatible and can be swapped when the optional peer is installed. This preset ensures the CLI import db-mysql/planetscale resolves and the generated server documents the intent.