Hyperterse supports MySQL with connection pooling, character set configuration, and parameterized query execution. All standard SQL features — joins, aggregations, subqueries, JSON functions, and window functions — work as expected in tool statements.Documentation Index
Fetch the complete documentation index at: https://docs.hyperterse.com/llms.txt
Use this file to discover all available pages before exploring further.
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
Character set for the connection. Use
utf8mb4 for full Unicode support
including emoji.Maximum number of connections in the pool.
Connection string parameters
Fine-tune behavior through query parameters on the connection string:| Parameter | Example | Purpose |
|---|---|---|
charset | utf8mb4 | Connection character set |
parseTime | true | Parse DATE and DATETIME into time values |
loc | UTC | Timezone for parsed datetimes |
timeout | 10s | Connection timeout |
readTimeout | 30s | I/O read timeout |
writeTimeout | 30s | I/O write timeout |
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: