MySQL and MariaDB + Memtro

Read-only SQL over your MySQL or MariaDB database, directly or through an SSH tunnel.

Point Memtro at a MySQL or MariaDB database with a read-only user and the model can explore the schema and answer questions with SQL. Every query runs as a single SELECT inside a READ ONLY transaction with a 20-second timeout and a row cap; writes are rejected before they reach the server. Databases on a private network can be reached through an SSH bastion.

In Memtro

What you can do with MySQL and MariaDB in Memtro

Ask in plain English from chat, your editor, a scheduled job or your own agent. The model picks the right MySQL and MariaDB tool, reads what it needs, and answers with the source cited.

Reads

  1. 01List tables and columns, optionally limited to chosen schemas
  2. 02Run SELECT, WITH, SHOW, DESCRIBE and EXPLAIN statements
  3. 03Enforce READ ONLY transactions, statement timeouts and row caps
  4. 04Connect over TLS to RDS, PlanetScale, Aiven, Azure and others, or through an SSH tunnel to a private host
In practice

Ask it like you would a colleague

Once MySQL and MariaDB is connected, these are the kinds of things people ask. Plain questions, no syntax. If the answer lives partly in another system you have connected, Memtro looks there too.

MySQL and MariaDB + Memtro
  • How many orders were placed last week, by status?

  • Which customers signed up in September but never ordered?

  • What columns does the subscriptions table have?

  • Show the 20 most recent failed payments with the customer email

01

Questions, not dashboards

Ask how many orders shipped late last week; Memtro reads the schema, writes the SQL, runs it read-only and shows the query.

02

Safe by construction

Every statement runs in a READ ONLY transaction with a timeout and a row cap, through an SSH tunnel if the database is private.

Teams

Where it fits

The teams that lean on MySQL and MariaDB most, a question each of them asks, and what they connect beside it.

Better together

Works with

A record in MySQL and MariaDB is rarely the whole story. Connect the systems that hold the rest and Memtro checks them together, then remembers what it learned so the next question starts further along.

Setup

How to connect

Connect withConnection string, optional SSH tunnel
  1. 1

    Create a read-only user: CREATE USER 'memtro'@'%' IDENTIFIED BY '…'; GRANT SELECT ON app.* TO 'memtro'@'%';

  2. 2

    In Memtro choose MySQL and MariaDB and paste mysql://memtro:password@host:3306/app?ssl=true; for a private database open the SSH tunnel section and add the bastion host, user and key

  3. 3

    Optionally list the schemas to expose, then save; Memtro checks the connection and server version

Also works from

Chat in the dashboard, the OpenAI-compatible API, scheduled jobs, and any MCP client: Claude Code, OpenCode, Cursor, Claude Desktop. The MySQL and MariaDB tools are the same everywhere.

FAQ

Questions

Can Memtro change anything in MySQL and MariaDB?+

Not yet. Today every MySQL and MariaDB tool reads, searches or lists. When the connector gains actions, each is marked, granted by name per team and used only when a person asks for exactly that, so nothing is created, sent, updated or deleted until you say so.

Who can use a MySQL and MariaDB connection?+

A personal connection serves only your own requests. A shared connection serves the organisation: everyone, or only the teams an admin chooses. Admins can always add shared connections; other members need the permission.

Does Memtro store my MySQL and MariaDB data?+

Credentials are encrypted at rest. Tool results are cached briefly so agent loops do not repeat identical calls, and the facts the model extracts are saved to your organisation's memory with provenance (system, record and link) so they can be checked and superseded.

How do I connect MySQL and MariaDB?+

Connection string, optional SSH tunnel. Create a read-only user: CREATE USER 'memtro'@'%' IDENTIFIED BY '…'; GRANT SELECT ON app.* TO 'memtro'@'%';.

Connect MySQL and MariaDB in a few minutes

Seven-day free trial, then one monthly price per organisation. Connectors, jobs and memory are never metered.

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time