# MySQL

> Use MySQL as the database of the self-hosted GitHub Actions cache server. Recommended for production.

Source: https://gha-cache-server.falcondev.io/database-drivers/mysql

Driver: `mysql`

## Configuration

### `DB_MYSQL_DATABASE`

The name of the MySQL database to use.

### `DB_MYSQL_HOST`

The host of the MySQL database.

### `DB_MYSQL_PORT`

The port of the MySQL database.

### `DB_MYSQL_USER`

The user to authenticate with the MySQL database.

### `DB_MYSQL_PASSWORD`

The password to authenticate with the MySQL database.