MySQL read-only query
mysql_queryRetrieve data and inspect schema safely with read-only MySQL queries, validated to allow only SELECT, SHOW, DESCRIBE, and EXPLAIN statements.
Instructions
Run a read-only MySQL query. Allowed statements: SELECT, WITH SELECT, SHOW, DESCRIBE/DESC, and safe EXPLAIN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | Read-only SQL statement to execute. | |
| maxRows | No | Maximum rows to return, up to 500. |