mysql

Featured

Execute read-only SQL queries against multiple MySQL databases. Use when: (1) querying MySQL databases, (2) exploring database schemas/tables, (3) running SELECT queries for data analysis, (4) checking database contents. Supports multiple database connections with descriptions for intelligent auto-selection. Blocks all write operations (INSERT, UPDATE, DELETE, DROP, etc.) for safety.

API & Backend 422 stars 45 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 93/100

Stars 20%
87
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# MySQL Read-Only Query Skill Execute safe, read-only queries against configured MySQL databases. ## Requirements - Python 3.8+ - mysql-connector-python: `pip install -r requirements.txt` ## Setup Create `connections.json` in the skill directory or `~/.config/claude/mysql-connections.json`. **Security**: Set file permissions to `600` since it contains credentials: ```bash chmod 600 connections.json ``` ```json { "databases": [ { "name": "production", "description": "Main app database - users, orders, transactions", "host": "db.example.com", "port": 3306, "database": "app_prod", "user": "readonly_user", "password": "your-password", "ssl_disabled": false } ] } ``` ### Config Fields | Field | Required | Description | |-------|----------|-------------| | name | Yes | Identifier for the database (case-insensitive) | | description | Yes | What data this database contains (used for auto-selection) | | host | Yes | Database hostname | | port | No | Port number (default: 3306) | | database | Yes | Database name | | user | Yes | Username | | password | Yes | Password | | ssl_disabled | No | Set to `true` to disable SSL (default: false) | | ssl_ca | No | Path to CA certificate file | | ssl_cert | No | Path to client certificate file | | ssl_key | No | Path to client private key file | ## Usage ### List configured databases ```bash python3 scripts/query.py --list ``` ### Query a database ```bash python3 scripts/query...

Details

Author
sanjay3290
Repository
sanjay3290/ai-skills
Created
8 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category