MySQL for Artifactory
Use MySQL as the external database for JFrog Artifactory to leverage MySQL infrastructure features such as backup, restore, and replication.
MySQL provides infrastructure features such as backup and restore.
To run Artifactory with MySQL, create a dedicated MySQL database instance and then configure Artifactory to use it as described in the following sections.
Enable Non-PostgreSQL Database
From Artifactory 7.84, Artifactory installations support only PostgreSQL by default. Artifactory will not start after installation unless you configure the
system.yamlfile to support your non-PostgreSQL database.
Create the Artifactory MySQL Database
Create and initialize the MySQL database using the Artifactory-provided SQL script.
Configure Artifactory to Use MySQL
Download the JDBC driver and update the database connection settings in system.yaml.
Increase MySQL Default Packet Size
Increase the max_allowed_packet in MySQL to prevent errors when storing large build and configuration data.
Tune MySQL for Artifactory
Optimize MySQL performance by enabling the InnoDB engine and applying recommended tuning parameters.
For more information on configuring the system.yaml after installation, see Configure Artifactory to use MySQL.
Updated 2 days ago
