MARIADB
Talk to your MariaDB in plain English
Self-hosted text-to-SQL for MariaDB. Read-only, governed, runs in your infrastructure.
Connect in one step
Ask in plain English
Real MariaDB queries Limerence generates from business questions.
“Weekly revenue by product category for the last quarter”
SELECT YEARWEEK(o.created_at, 3) AS year_week,
p.category,
SUM(o.amount_cents) / 100.0 AS revenue
FROM orders o
JOIN products p ON p.id = o.product_id
WHERE o.created_at >= DATE_SUB(CURDATE(), INTERVAL 13 WEEK)
GROUP BY year_week, p.category
ORDER BY year_week, revenue DESC;“Running 7-day total of new signups using a window function”
SELECT signup_date,
daily_signups,
SUM(daily_signups) OVER (
ORDER BY signup_date
ROWS BETWEEN 6 PRECEDING AND CURRENT ROW
) AS rolling_7d_signups
FROM (
SELECT DATE(created_at) AS signup_date, COUNT(*) AS daily_signups
FROM users
WHERE created_at >= DATE_SUB(CURDATE(), INTERVAL 60 DAY)
GROUP BY signup_date
) d
ORDER BY signup_date;“Generate a calendar of the next 30 days using the SEQUENCE engine”
SELECT DATE_ADD(CURDATE(), INTERVAL seq.seq DAY) AS day
FROM seq_0_to_29 AS seq
ORDER BY day;How it works with MariaDB
- Connects via the official mariadb-connector-nodejs driver.
- Schema discovery uses information_schema with MariaDB-specific extensions.
- Compatible with MariaDB 10.4 LTS and newer.
- JSON columns supported — stored as LONGTEXT under the hood, queried via JSON_EXTRACT.
- Sequence storage engine (seq_X_to_Y) recognized for date-series and synthetic ranges.
MariaDB questions
Does this work with SkySQL or Aiven for MariaDB?+
Yes. Both expose a standard MariaDB endpoint over TLS.
How does it handle MariaDB vs MySQL syntax differences?+
The agent detects server flavor at connect time and generates dialect-appropriate SQL — MariaDB sequence engine, dynamic columns, and Oracle-mode syntax all recognized.
Galera cluster — which node should I point at?+
Any node. Limerence issues read-only queries; routing across the cluster is handled by Galera as usual.
Does it support Oracle compatibility mode?+
Yes. When SQL_MODE includes ORACLE, the agent will use Oracle-style syntax where appropriate.
Only your schema structure (table and column names, types) is shared with the LLM. Row data is never sent. Generated SQL runs against your database directly and results stay inside your network.