Supported MySQL Versions
Artifactory supports MySQL 5.7 and 8.x with
InnoDB engine, which is the default provided.
MySQL 5.5 and 5.6 are no longer supported as they have reached their EOL; users are requested to upgrade to the above versions of MySQL.
Artifactory provides a script that will execute the SQL commands you need to create your MySQL database.
You can find the script in
You should review the script and modify it as needed to correspond to your specific environment.
CREATE DATABASE artdb CHARACTER SET utf8 COLLATE utf8_bin; CREATE USER 'artifactory'@'%' IDENTIFIED BY 'password'; GRANT ALL on artdb.* TO 'artifactory'@'%'; FLUSH PRIVILEGES;
Once you have verified that the script is correct, you need to run it to create the database and proceed with configuring the database.
Selecting a Case-Sensitive Collation
While MySQL database server is not case-sensitive by default, it is important to select a case-sensitive collation because Artifactory is case-sensitive.
For example, in the
createdb.sql script above COLLATE is set to "
UTF8MB4 is not supported. We recommend that you adhered to the default "utf8_bin".
We recommend providing Artifactory with full privileges on the database