Fork me on GitHub Link Search Menu Expand Document Survey contribution
Help the team improve Authelia by taking this 10-second survey.

MariaDB

The MySQL storage provider also serves as a MariaDB provider.

Configuration

storage:
  mysql:
    host: 127.0.0.1
    port: 3306
    database: authelia
    username: authelia
    password: mypassword

Options

host

type: string

default: localhost

required: no

The database server host.

If utilising an IPv6 literal address it must be enclosed by square brackets and quoted:

host: "[fd00:1111:2222:3333::1]"

port

type: integer

default: 3306

required: no

The port the database server is listening on.

database

type: string

required: yes

The database name on the database server that the assigned user has access to for the purpose of Authelia.

username

type: string

required: yes

The username paired with the password used to connect to the database.

password

type: string

required: yes

The password paired with the username used to connect to the database. Can also be defined using a secret which is also the recommended way when running as a container.