# MySQL

> The popular relational database. Backups are not supported yet.

The popular relational database. Backups are not supported yet.

Official MySQL 8.4 image with a volume, a generated root password and Railway's variable names. Backups are not part of v0.1; the docs show a mysqldump cron service you can add.

## Deploy

On the canvas, select **+ Create**, then **Database** or **Template**, then **MySQL**. Or run `openrail deploy --template mysql`.

## Services it creates

| Service | Image | Volume | Public domain |
|---|---|---|---|
| MySQL | `mysql:8.4.10` | `/var/lib/mysql` | no |

## Inputs

None.

The manifest is [templates/mysql/template.yaml](https://github.com/musakkka/openrail/blob/main/templates/mysql/template.yaml).

## Next steps

- [Templates reference](https://openrail.app/docs/reference/templates)
- [Backups and restore](https://openrail.app/docs/guides/backups)
