SQL Database
Connect a SQL database so RunLLM's SRE agent can run read-oriented queries during investigations. Use a read-only database user with the minimum permissions needed for troubleshooting.
The agent can:
- List tables in the connected database
- Describe a table’s columns and types
- Run parameterized
SELECTqueries (results are capped at 1,000 rows)
| Parameter | Description |
|---|---|
| Dialect | SQLAlchemy dialect name for your engine (for example, postgresql, mysql, or mssql). |
| Host | Database hostname (for example, db.example.com). |
| Port | TCP port (for example, 5432 for PostgreSQL or 3306 for MySQL). |
| Database Name | The database to connect to. |
| Username | Database username. |
| Password | Database password. Stored securely with your tool configuration. |
Optional parameters
| Parameter | Description |
|---|---|
| Rules / Instructions | Free-form instructions that guide the agent on how to use this integration (for example, "Read-only; prefer the analytics replica" or "Only query tables under schema app_public"). |
Read-only credentials
We strongly recommend credentials that can only SELECT (and any minimal grants required for your investigation workflow). Avoid admin or write-capable users.