Mysql
Connects to MySQL databases, executes queries, and retrieves results directly within the chaterm interface.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add chaterm-mysql npx -- -y @trustedskills/chaterm-mysql
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"chaterm-mysql": {
"command": "npx",
"args": [
"-y",
"@trustedskills/chaterm-mysql"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The chaterm-mysql skill allows AI agents to interact with MySQL databases. It provides capabilities to execute SQL queries, retrieve data, and manage database connections directly within the agent's workflow. This enables automated tasks like data extraction, reporting, and database maintenance.
When to use it
- Automated Reporting: Generate reports from a MySQL database based on specific criteria or schedules.
- Data Extraction for Analysis: Extract relevant data from a MySQL database for further analysis by other tools or skills.
- Database Maintenance: Perform routine tasks like backups, index optimization, or table maintenance directly through the agent.
- Populating Applications with Data: Automatically populate application databases with data retrieved from a source MySQL database.
Key capabilities
- Execute SQL queries against a MySQL database.
- Retrieve and process data from tables.
- Manage database connections (hostname, username, password).
Example prompts
- "Run the query 'SELECT * FROM customers WHERE city = 'New York''."
- "Get me the total sales for each product category from the 'orders' table."
- "Connect to the MySQL database and show me the latest 10 entries in the 'logs' table."
Tips & gotchas
- Ensure your AI agent has appropriate credentials (hostname, username, password) to access the target MySQL database.
- Be mindful of SQL injection vulnerabilities when constructing queries dynamically; sanitize inputs properly.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.