2.1. Choosing a Database

In order to make sure eduMFA is working smoothly and securely, eduMFA only supports certain databases instead of every supported by SQLAlchemy in theory. To keep the scope limited, issues and pull requests which are not related to a supported database will be closed.

Please choose one of the following databases.

2.1.1. PostgreSQL

PostgreSQL is supported in versions 17 and 18. Other versions may work too but are not tested.

Notes:

  • None

2.1.2. MariaDB

MariaDB (also with Galera in a multi-primary configuration) is supported in version 11.8 and 12.3. Other versions may work too but are not tested.

Notes:

  • Please make sure that innodb_snapshot_isolation is enabled. This is the default starting from version 11.6.2.

  • MariaDB defaults to the REPEATABLE READ transaction isolation level, which can lead to errors like “Record has changed since last read” when under high load. Configure eduMFA to use the READ COMMITTED isolation level in edumfa.cfg as described in the config file documentation.

2.1.3. Versions

As a rule of thumb, eduMFA will support the following versions:

  • the default version of Debian stable

  • the default version of the latest Ubuntu LTS

  • the latest LTS/stable version of the database system itself

However, please see this page for authoritative information.