Files
showbridge-docs/src/content/docs/modules/db/mysql.mdx
T
2026-09-05 16:50:36 -05:00

25 lines
449 B
Plaintext

---
title: MySQL
sidebar:
order: 1
---
import SchemaInfo from '../../../../components/SchemaInfo.astro';
The `db.mysql` module can open a connection to MySQL databases
<SchemaInfo type="module" id="db.mysql"></SchemaInfo>
This module implements the `DatabaseModule` interface.
### Example
Opens a connection to a MySQL database
```yaml
- id: myDatabase
type: db.mysql
params:
dsn: "user:password@tcp(localhost:3306)/mydatabase"
```