Hyperterse connects to your existing database. It does not create or manage
databases — you provide a running MySQL instance and a connection string.
Adapter configuration
Create an adapter file inapp/adapters/:
app/adapters/mysql-db.terse
MySQL DSN format differs from PostgreSQL URI format. The host and port are
wrapped in
tcp(...).Connection options
Connection string parameters
Fine-tune behavior through query parameters on the connection string:Recommended permissions
Create a dedicated database user for Hyperterse and grant only the privileges your tools require:Verify the connection
Start the server and confirm the adapter connects:Usage
MySQL tools execute standard SQL through the adapter. Use{{ inputs.field }} placeholders for parameterized values.
app/tools/get-product/config.terse
JSON_EXTRACT, stored procedures, and window functions are all supported. Use standard MySQL syntax in statements.
Read replicas
Configure separate adapters for primary and replica databases:app/adapters/primary.terse
app/adapters/replica.terse
Troubleshooting
Access denied
Verify user grants:FLUSH PRIVILEGES.
Character set issues
Useutf8mb4 in the connection string to support the full Unicode range: