forked from smallcloudai/refact
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Integrations MySQL
refact-planner edited this page Jun 7, 2026
·
1 revision
Run MySQL queries from Refact Agent.
The MySQL integration exposes the mysql tool to the agent. It runs one SQL query per tool call through the mysql client using the connection settings configured in Refact.
Configure:
- Host and port: where MySQL is reachable.
- User, password, and database: connection credentials and target database.
-
mysql path: optional path to the
mysqlbinary; leave empty to usemysqlfromPATH.
Values can reference variables or secrets so credentials do not need to be written directly into prompts.
- Each tool call runs a single query.
- Queries time out after a short fixed timeout.
- Large result sets and long cells are truncated before being returned to chat.
- Errors from
mysqlare shown to the agent for debugging.
Configure confirmation rules for writes, schema changes, and maintenance commands. Use read-only credentials when the agent only needs to inspect data.
Refact on GitHub: https://github.com/JegernOUTT/refact
- Agent Modes
- Agent Tools
- Task Planner & Cards
- Worktrees
- Subagents
- Memory & Knowledge
- Hidden Roles & Plans
- Context Compression
- Scheduler & Cron
- Processes & PTY
- Buddy
- MCP
- Skills, Commands & Hooks
- Marketplace
- Chat System
- Providers
- Caps & Models
- Code Completion (FIM)
- AST
- VecDB
- Exec Runtime
- HTTP API
- Checkpoints & Git
- Voice