MySQL
Connect your MySQL or MariaDB database to CipherSense Agents workflows
MySQL is the world's most popular open-source relational database. CipherSense Agents connects via standard credentials, letting your workflows run SQL queries and retrieve structured data as input context for Agent nodes. Compatible with AWS RDS for MySQL, Google Cloud SQL, PlanetScale, and self-hosted instances.
Official documentationSetup
Gather your connection details
Gather your connection details
You'll need: host, port (default 3306), database name, username, and password. Whitelist your CipherSense Agents server's IP in the database's allowed hosts or firewall rules.
Create a least-privilege user
Create a least-privilege user
Create a read-only user instead of sharing admin credentials.
-- Create user
CREATE USER 'CipherSense Agents_ro'@'%' IDENTIFIED BY 'your-password';
-- Grant read-only access
GRANT SELECT ON your_database.* TO 'CipherSense Agents_ro'@'%';
FLUSH PRIVILEGES;Add the integration in CipherSense Agents
Add the integration in CipherSense Agents
Go to Project > Integrations > Add Integration > MySQL. Enter host, port, database, username, and password. Click Save & Test.
Connection Fields
Fields required when adding this integration in your Project › Integrations.
| Field | Required | Description |
|---|---|---|
| Host | Required | Hostname or IP of your MySQL server. |
| Port | Required | Default MySQL port is 3306. |
| Database | Required | Name of the MySQL database. |
| Username | Required | MySQL user with SELECT permissions. |
| Password | Required | Password for the MySQL user. |
| Enable SSL | Optional | SSL mode for the connection: disable, prefer, or require. |
Common Use Cases
Ready to connect MySQL?
Add this integration from your project dashboard and wire it into a workflow.
On This Page