Databases connector
MySQL connector for governed AI agent access
Connect a MySQL database with host, schema, and login credentials.
Direct answer
OneQuery supports MySQL for governed agent access.
Teams use the MySQL connector to give AI agents SQL-style query workflows for structured data access while OneQuery keeps credentials centralized, limits access to approved sources, and preserves audit logs for review.
Agent workflow
What this connector enables
MySQL becomes an approved OneQuery source instead of a secret copied into an agent prompt, shell session, or model tool. The agent receives a governed access path, and the source credentials stay behind OneQuery.
- Use SQL-style query workflows for structured data access for databases context.
- Keep MySQL credentials centralized and out of agent runtimes.
- Review agent access through OneQuery audit history instead of reconstructing direct service usage.
Setup checklist
Prepare the MySQL connection
Use mysql credentials and connect the source through the Dashboard and CLI. Keep credentials scoped to the data the agent is allowed to read.
- Retrieve the MySQL host, database name, username, and password from the deployment or secret manager.
- Confirm the port and SSL requirement before building the payload.
FAQ
MySQL connector questions
What is the OneQuery MySQL connector?
The OneQuery MySQL connector makes databases context from MySQL available to AI agents through SQL-style query workflows for structured data access. Connect a MySQL database with host, schema, and login credentials.
How do AI agents access MySQL through OneQuery?
Agents call OneQuery instead of receiving raw MySQL credentials. OneQuery keeps credentials centralized, applies source boundaries, and records access in audit logs while exposing SQL-style query workflows for structured data access.
How do I set up the MySQL connector?
Prepare mysql credentials and connect MySQL from the OneQuery dashboard or CLI. Start with this setup step: Retrieve the MySQL host, database name, username, and password from the deployment or secret manager.