execute_query
Execute read-only SQL queries on MySQL databases. Run SELECT, SHOW, DESCRIBE, and EXPLAIN statements to retrieve data without modification.
Instructions
Execute a read-only SQL query
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL query (only SELECT, SHOW, DESCRIBE, and EXPLAIN statements are allowed) | |
| database | No | Database name (optional, uses default if not specified) |