Terminal
Terminal/Skill
Guides use of the TiDB Cloud serverless HTTP driver (Beta) in serverless and edge runtimes like Vercel, Cloudflare and Deno.
By PingCAP (TiDB)
Works with
npx skills add pingcap/agent-rules --skill tidbx-serverless-driverUse this skill to guide users who need the TiDB Cloud serverless driver (Beta) in serverless or edge environments.
Serverless and edge runtimes often do not support long-lived TCP connections. Traditional MySQL drivers expect TCP, so they are a poor fit there. The TiDB Cloud serverless driver (Beta) uses HTTP instead, so it works in serverless and edge environments while keeping a similar developer experience.
npm install @tidbcloud/serverless
Use the reference file for the canonical driver overview, examples, configuration, and limitations. Load only what you need, and use the table of contents to jump to the right section:
references/serverless-driver.mdDATABASE_URL.tidbx skill.