[Deprecated] This is the required documentation for agents operating on the CloudBase Relational Database through MCP. It defines the canonical SQL management flow with `queryMysqlDatabase`, `manageMysqlDatabase`, `queryPermissions`, and `managePermissions`, including MySQL provisioning, destroy flow, async status checks, safe query execution, schema initialization, and permission updates. New environments should use PostgreSQL — see postgresql-development skill instead.
SkillScore77Maintained
Automatic
◆Coding pack
Last verified 8/9/2026
What it changes
Passed 15 of 19 test cases with the skill, and 3 of 19 without it.
Without skill18%
With skill77%
Checks it passed that the model alone missed
The response uses CloudBase Node.js SDK for API route handlers.
The response uses manageMysqlDatabase with action runStatement.
The response uses manageMysqlDatabase with action initializeSchema.
and 13 more in the full report
13 fixed4 passed either way5 still failing0 broke
Pass-rate lift
+59 pp
Tokens
+48%
Agent turns
0%
Response time
-62%
Model gemini-3.6-flashMeasured 8/9/2026v217 of 22 cases passed with skill · 19 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 13 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 13
Prompt
We called `manageMysqlDatabase` with `action="destroyMySQL"` to remove a SQL instance. We need to track the status of this background destroy job. Which query tool and action should be polled to track this destroy task?
What was checked, without and with the skill
Checked
Without skill
With skill
The response specifies queryMysqlDatabase with action describeTaskStatus.
Missed
Passed
case-15 · gemini-3.6-flash · 8/9/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md204 linessingle file
Sibling skills (local only)
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.
If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do not HTTP-fetch remote skill or protocol markdown into the agent context.
Activation Contract
Use this first when
The agent must inspect SQL data, execute SQL statements, provision or destroy MySQL, initialize table structure, or manage table security rules through MCP tools.
Read before writing code if
The task includes queryMysqlDatabase, manageMysqlDatabase, queryPermissions, or managePermissions.
Then also read
Web application integration -> ../relational-database-web-cloudbase/SKILL.md
Raw HTTP database access -> ../http-api-cloudbase/SKILL.md
Do NOT use for
Frontend or backend application code that should use SDKs instead of MCP operations.
Common mistakes / gotchas
Initializing SDKs in an MCP management flow.
Running write SQL or DDL before checking whether MySQL is provisioned and ready.
Treating document database tasks as MySQL management tasks.
Skipping _openid and permissions review after creating new SQL tables.
Destroying MySQL without explicit confirmation or without checking whether the environment still needs the instance.
Using getConnectionInfo (or inferred host/password) to build a default TCP client for new apps. Prefer SDK / runQuery / runStatement; TCP credentials are an explicit migration exception only.
When to use this skill
Use this skill when an agent needs to operate on CloudBase Relational Database via MCP tools, for example: