By using MySQL you can benefit from features in the MySQL infrastructure such as backup, restore and high availability.
For Artifactory to run with MySQL you must create a dedicated MySQL database instance and then configure Artifactory to use it as described in the following sections.
Creating the Artifactory MySQL Database
Artifactory provides a script that will execute the SQL commands you need to create your MySQL database.
The script can be found in
You should review the script and modify it as needed to correspond to your specific environment.
Increasing MySQL Default Packet Size
Since some data files (builds, configurations etc.) are stored in MySQL, it is extremely important to increase the maximum allowed packet size used by MySQL to avoid errors related to large packets.
(Please refer to MySQL documentation: Packet Too Large).
It is recommended to change this in the
Tuning MySQL for Artifactory
When using Artifactory with MySQL it is recommended to use the InnoDB engine with the following tuning parameters configured in the
Configuring Artifactory to use MySQL