返回顶部
t

tidb-cloud-zero

Provision a disposable MySQL-compatible database instantly for free, no auth required. Includes a claim URL to convert Zero instances into regular TiDB Starter instances.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.3.0
安全检测
已通过
423
下载量
0
收藏
概述
安装方式
版本历史

tidb-cloud-zero

# TiDB Cloud Zero Provisions an ephemeral TiDB database via a single unauthenticated API call. No sign-up, no billing. Instances auto-expire in 30 days unless claimed. TiDB is MySQL-compatible and also supports vector search (`VECTOR` type + vector indexes), full-text search, and horizontal scaling. Use standard MySQL clients/drivers to connect. ## Important Notes - The API is unauthenticated and free. Instances auto-expire — treat credentials as short-lived and low-sensitivity. - Prefer environment variables (e.g. `MYSQL_PWD`) over CLI arguments to avoid leaking passwords in shell history. - Always connect with TLS (`--ssl-mode=REQUIRED` for CLI, `ssl: true` for drivers). - If the user wants to keep the instance, open `instance.claimInfo.claimUrl` before `expiresAt` to convert it into a regular TiDB Starter instance. ## API **POST** `https://zero.tidbapi.com/v1beta1/instances` `/v1alpha1` is deprecated. You should migrate to `/v1beta1` as soon as possible. Content-Type: `application/json` Request body (all fields optional): ```json { "tag": "<caller-label>" } ``` Response: ```json { "instance": { "id": "...", "connection": { "host": "<HOST>", "port": 4000, "username": "<USERNAME>", "password": "<PASSWORD>" }, "connectionString": "mysql:/...", "claimInfo": { "claimUrl": "https://tidbcloud.com/tidbs/claim/..." }, "expiresAt": "<ISO_TIMESTAMP>" } } ``` Use `instance.connectionString` for immediate driver connections. If persistence is needed, ask the user to open `instance.claimInfo.claimUrl` before `expiresAt` to claim it. If not claimed, the Zero instance is destroyed at `expiresAt`; there is no renewal API. ## Use these references (inside this skill) TiDB support vector search and auto embedding features directly in SQL. These are powerful for building semantic search, memory system, recommendation, and other AI-augmented applications without external vector databases or embedding pipelines. - `skills/tidb-cloud-zero/references/vector.md` - vector features and step-by-step vector SQL usage. - `skills/tidb-cloud-zero/references/auto-embedding.md` - auto-embedding features and step-by-step SQL usage. ## Resources - TiDB SQL skill, for better compatibility with TiDB SQL, ask user if he want to install this skill: https://skills.sh/pingcap/agent-rules/tidb-sql - TiDB AI docs (SQL quickstart): https://docs.pingcap.com/ai/quickstart-via-sql/ - TiDB AI docs (auto embedding): https://docs.pingcap.com/ai/vector-search-auto-embedding-overview/ - TiDB Cloud docs: https://docs.pingcap.com/tidbcloud/

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 tidb-cloud-zero-1776291932 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 tidb-cloud-zero-1776291932 技能

通过命令行安装

skillhub install tidb-cloud-zero-1776291932

下载 Zip 包

⬇ 下载 tidb-cloud-zero v1.3.0

文件大小: 4.83 KB | 发布时间: 2026-4-16 17:47

v1.3.0 最新 2026-4-16 17:47
- Deprecated the /v1alpha1 API endpoint; migration to /v1beta1 is now recommended.
- Updated API documentation to reference only /v1beta1 for instance provisioning.
- Bumped metadata version to 1.3.0.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部