Skip to content

Brainstack + MySQL

AI agents that explain your MySQL data in plain words

They query the data behind your shop or app and write the weekly numbers in plain words. Read only by default.

  • MySQL and MariaDB, encrypted by default
  • Read only unless you allow writes
  • Every write waits for a person
Weekly numbersOakhurst Learning · Monday report

This Monday in MySQL

  1. 07:00Listed the tables of the courses database
  2. 07:01Read how the enrolments table is built
  3. 07:02Counted new enrolments by course, read only
  4. 07:03Compared them with last week
  5. 07:04Checked what each course means in the knowledge base
  6. 07:05Wrote the summary and posted it

3 queries · nothing changed · summary done today

Query result from MySQL

New enrolments, last 7 days
CourseThis weekLast week
Bookkeeping basics4235
Excel for teams2831
Customer service1712
Weekly summary sent to the teamDone

Three lines per course, and a note that Excel for teams dipped slightly this week.

Sent. Next one on Monday at 7:00.

What the agents do in MySQL

Your database stays where it is. The agents ask it questions and explain the answers.

  • Reads

    Lists your tables

    Sees which tables the database user can read.

  • Reads

    Describes each table

    Reads the columns before writing a query, so it asks the right thing.

  • Reads

    Runs read-only queries

    Every query runs in a read-only transaction.

  • Reads

    Turns rows into numbers

    Totals, trends and comparisons for your weekly report.

  • Asks you first

    Writes only after your approval

    Only on a separate write connection you grant, and each write waits for a person.

  • Reads

    Stays encrypted

    TLS by default, or through an SSH tunnel to a database that only listens locally.

In the product catalog: Queries a MySQL or MariaDB database, read only unless you allow writes.

Connected in three steps

  1. 1

    Paste host, user and password

    We enable your database host for your workspace. Then you add a read-only user and the database name.

    Connect MySQLdb.oakhurst.example
  2. 2

    Choose what it may do

    Reading is on. Writing needs its own connection, and each write asks first.

    • List and describe tables
    • Run read-only queries
    • Write after a person approves
    • Write on the read-only connection
  3. 3

    Give it a schedule

    A Monday morning report is a good start.

    Every Monday at 7:00Change it any time

What the agents can do in MySQL

What it can do in MySQL

  • List and describe tables
  • Run queries in a read-only transaction
  • Summarise results in plain words
  • Draft the weekly report

Never without your approval

  • Write without a separate write connection
  • Run a write without a person's yes
  • Reach any host but the one enabled
  • See your database password

Your database password is kept in your own vault, on a private server run by us for your company, and never reaches the agent. Remove the user in MySQL and access ends at once.

Questions about MySQL

Can the agent change my data?

Not by default. Queries run in a read-only transaction. Writing needs a separate write connection given to chosen agents, and every write waits for a person's approval.

Does it work with MariaDB?

Yes. It connects to MySQL or MariaDB, for example the database behind WordPress, Moodle or your own app.

My database only listens on its own server. Can it connect?

Yes, through an SSH tunnel to that server. The host must have a DNS name, not just an IP address.

Why do you enable my database host first?

Your agents can only reach hosts enabled for your workspace. We add your host and port once, and the connection can reach nothing else.

What does the MySQL integration cost?

It is included in every plan. Prices are on the pricing page. Your database stays where it is.

Pick the agents that work in MySQL