Skip to main content
Connect your MySQL or MariaDB database so Myrmex can audit its hardening and compliance, check its operational health, explore its schema, and — with approval — run SQL for you. Myrmex reaches the database over the native protocol through a Collector on your network. Operations run live and on demand through the Integration Specialist agent — Myrmex reads only what you ask for and keeps none of your data on the Myrmex side.

What Myrmex Can Do

Compliance audit

Run a Security Posture audit and map findings to CIS, ISO 27001, NIST CSF, and BACEN frameworks.

Health checks

Review connections, buffer pool usage, replication status, and slow queries.

Explore tables

List schemas and tables so you can see what the database holds.

Describe structure

Inspect columns, types, indexes, and constraints for any table.

Sensitive-data scan

Scan tables and columns for personal or sensitive data that needs protection.

Run SQL

Execute read queries any time; write statements (DDL/DML) require your confirmation.

Before You Start

  • A Collector on a network that can reach the MySQL/MariaDB host on its TCP port (default 3306). See Collector mode.
  • A dedicated database user for Myrmex (create it in Step 1).
  • TLS is recommended. Set SSL Mode to require to encrypt the connection; servers without TLS use disable (the audit flags the missing encryption).

Step 1 — Create the Credential in MySQL / MariaDB

Create a dedicated, least-privilege user for auditing. PROCESS plus read access to performance_schema and mysql.user cover the checks the audit runs (information_schema is readable by default).
Keep the account read-only for auditing. Grant a write-capable user only if you want the agents to run write statements (DDL/DML) through Run SQL.

Step 2 — Add the Integration in Myrmex

From the Directory, choose Add Integration → MySQL / MariaDB, then fill in:

Connect

Click Connect to validate the login and TLS settings. The database then appears under Environment → Integrations alongside your other integrations, and you can start asking the AI about it in the Workspace.

Notes

  • Read-only by default. Auditing, health, schema exploration, and sensitive-data scans only need the read-only user. Provide a write-capable user only if you want confirmation-gated Run SQL writes.
  • Nothing is stored. Every operation runs in real time through the Collector; results return to your Workspace and no database data is retained on the Myrmex side.
  • MariaDB. The same grants and connection settings apply to MariaDB servers.