teamday-ai/agents/mysql
Claude Code and agent skill by teamday-ai/agents
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Query and manage MySQL databases using mysql CLI. Connect to PlanetScale, AWS RDS, Google Cloud SQL, or any MySQL instance.
Install
npx vskill@latest install teamday-ai/agents/mysqlSKILL.md
MySQL Skill
Query and manage MySQL databases using the mysql CLI.
Quick Start
Prerequisites
Configure credentials as Space environment variables.
| Variable | Description | Example | |
|---|---|---|---|
MYSQL_HOST | Database host | db.example.com | |
MYSQL_USER | Database user | readonly | |
MYSQL_PASSWORD | Database password | secret123 | |
MYSQL_DATABASE | Database name | myapp | |
MYSQL_PORT | Port (optional, default 3306) | 3306 |
Or use a URL and parse it:
| Variable | Description | Example | |
|---|---|---|---|
MYSQL_URL | Full connection URL | mysql://user:pass@host:3306/dbname |
Parse MYSQL_URL Helper
Verify Connection
Core Recipes
Run a Query
List Tables
Describe Table
Show Table Sizes
Count Rows
Export & Import
Export to CSV
Export as JSON (MySQL 8+)
Import SQL Dump
Import CSV (via LOAD DATA LOCAL)
Schema Operations
Show Create Table
List Indexes
Show All Databases
Write Operations
Insert
Update
Delete
Managed Service Setup
PlanetScale
- Host:
aws.connect.psdb.cloud - Requires
--ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/certs/ca-certificates.crt - Get credentials: PlanetScale Dashboard — Database — Connect — Create password
AWS RDS
- Host:
[instance].[region].rds.amazonaws.com - Default port: 3306
- Add
--ssl-mode=REQUIREDfor encrypted connections
Google Cloud SQL
- Use Cloud SQL Proxy or authorized networks
- Host: Public IP from Cloud Console
Self-Hosted
- Use host IP/domain, standard port 3306
Error Handling
| Error | Cause | Solution | |
|---|---|---|---|
Can't connect to MySQL server | Host unreachable | Check MYSQL_HOST, firewall rules | |
Access denied | Wrong credentials | Verify MYSQL_USER/MYSQL_PASSWORD | |
Unknown database | Database doesn't exist | Check MYSQL_DATABASE name | |
SSL connection error | SSL required | Add --ssl-mode=REQUIRED flag | |
Table doesn't exist | Wrong table name | Run SHOW TABLES first |
Tips
- Always use `LIMIT` when exploring — avoid dumping entire tables
- Use `-e` flag for single queries, pipe from files for multi-statement SQL
- Use `\G` suffix instead of
;for vertical display of wide rows - Use `-B` flag for batch mode (tab-separated, no table borders) — good for scripting
- Use `-N` flag to suppress column headers
- Quote passwords with
-p"$MYSQL_PASSWORD"(no space after-p) - SSL: Most cloud providers require SSL — add
--ssl-mode=REQUIRED
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/teamday/mysql/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/teamday-ai/agents/mysql)