What problem does it solve? Generic SQL knowledge leads agents to write SET statements that fail or misbehave on MariaDB — using nonexistent SET PERSIST syntax, wrong privilege names like SYSTEM_VARIABLES_ADMIN, or expecting SET GLOBAL to affect the current session. This Skill encodes MariaDB's actual SET grammar, scope rules, and the SET STATEMENT ... FOR extension so generated statements work correctly. ## Core Features & Use Cases - Scope and privilege correctness: Enforces GLOBAL/SESSION/LOCAL rules, the SUPER privilege gate on SET GLOBAL, and hard-error behavior (ERROR 1228/1229) for wrong-scope assignments. - SET STATEMENT ... FOR extension: Applies per-query variable overrides with automatic restore, including the fixed list of 13 unsupported variables and the parse-before-effect trap. - Persistence and reset semantics: Clarifies that MariaDB has no SET PERSIST (config files persist settings) and documents var = DEFAULT restore behavior for session versus global scope. - Use Case: When asked to raise max_connections for a MariaDB server, produce SET GLOBAL max_connections=500 plus a config-file change for restart persistence, instead of invalid SET PERSIST syntax. ## Quick Start Ask the AI to write or review a MariaDB SET statement, such as scoping max_statement_time to a single query with SET STATEMENT ... FOR.