Artifactory supports the popular MariaDB fork of MySQL. By using MariaDB you can benefit from features in the MariaDB infrastructure such as backup and restore.
For Artifactory to run with MariaDB you need to create a dedicated MariaDB database instance and then configure Artifactory to use it as described in the following sections.
Supported MariaDB Versions
Artifactory supports MariaDB versions 10.2.9-10.4 and version 10.5.9-10.6.17.
Supported JDBC Driver Versions
Artifactory supports the MariaDB Java Connector versions 2.1.2 and above.
Note that when using JDBC version 2.4.x and above, you need to add the following flag: useMysqlMetadata=true to the connection string.
Enable Non-PostgreSQL Database
From Artifactory 7.84, new Artifactory installations support only PostgreSQL in the default installation. Artifactory will not start after installation unless you configure the system.yaml
file to support non-PostgreSQL database.
For more information on configuring the system.yaml
after installation, see Configure Artifactory to use MariaDB.